File indexing completed on 2024-11-24 04:42:07
0001 /* 0002 SPDX-FileCopyrightText: 2022 Volker Krause <vkrause@kde.org> 0003 SPDX-License-Identifier: LGPL-2.0-or-later 0004 */ 0005 0006 #ifndef KANDROIDEXTRAS_CALENDARCONTRACT_H 0007 #define KANDROIDEXTRAS_CALENDARCONTRACT_H 0008 0009 #include <KAndroidExtras/AndroidTypes> 0010 #include <KAndroidExtras/JniObject> 0011 #include <KAndroidExtras/JniProperty> 0012 #include <KAndroidExtras/JavaTypes> 0013 0014 namespace KAndroidExtras { 0015 0016 /** CalendarContracts.EventColumns wrapper. */ 0017 class CalendarColumns 0018 { 0019 JNI_UNMANAGED_OBJECT(CalendarColumns, android::provider::CalendarContract_CalendarColumns) 0020 0021 JNI_CONSTANT(jint, CAL_ACCESS_CONTRIBUTOR) 0022 JNI_CONSTANT(jint, CAL_ACCESS_EDITOR) 0023 JNI_CONSTANT(jint, CAL_ACCESS_FREEBUSY) 0024 JNI_CONSTANT(jint, CAL_ACCESS_NONE) 0025 JNI_CONSTANT(jint, CAL_ACCESS_OVERRIDE) 0026 JNI_CONSTANT(jint, CAL_ACCESS_OWNER) 0027 JNI_CONSTANT(jint, CAL_ACCESS_READ) 0028 JNI_CONSTANT(jint, CAL_ACCESS_RESPOND) 0029 JNI_CONSTANT(jint, CAL_ACCESS_ROOT) 0030 }; 0031 0032 /** CalendarContracts.EventColumns wrapper. */ 0033 class EventsColumns 0034 { 0035 JNI_UNMANAGED_OBJECT(EventsColumns, android::provider::CalendarContract_EventsColumns) 0036 0037 JNI_CONSTANT(jint, ACCESS_CONFIDENTIAL) 0038 JNI_CONSTANT(jint, ACCESS_DEFAULT) 0039 JNI_CONSTANT(jint, ACCESS_PRIVATE) 0040 JNI_CONSTANT(jint, ACCESS_PUBLIC) 0041 0042 JNI_CONSTANT(jint, AVAILABILITY_BUSY) 0043 JNI_CONSTANT(jint, AVAILABILITY_FREE) 0044 JNI_CONSTANT(jint, AVAILABILITY_TENTATIVE) 0045 }; 0046 0047 /** CalendarContracts.AttendeesColumns wrapper. */ 0048 class AttendeesColumns 0049 { 0050 JNI_UNMANAGED_OBJECT(AttendeesColumns, android::provider::CalendarContract_AttendeesColumns) 0051 0052 JNI_CONSTANT(jint, ATTENDEE_STATUS_ACCEPTED) 0053 JNI_CONSTANT(jint, ATTENDEE_STATUS_DECLINED) 0054 JNI_CONSTANT(jint, ATTENDEE_STATUS_INVITED) 0055 JNI_CONSTANT(jint, ATTENDEE_STATUS_NONE) 0056 JNI_CONSTANT(jint, ATTENDEE_STATUS_TENTATIVE) 0057 0058 JNI_CONSTANT(jint, RELATIONSHIP_ATTENDEE) 0059 JNI_CONSTANT(jint, RELATIONSHIP_NONE) 0060 JNI_CONSTANT(jint, RELATIONSHIP_ORGANIZER) 0061 JNI_CONSTANT(jint, RELATIONSHIP_PERFORMER) 0062 JNI_CONSTANT(jint, RELATIONSHIP_SPEAKER) 0063 0064 JNI_CONSTANT(jint, TYPE_NONE) 0065 JNI_CONSTANT(jint, TYPE_OPTIONAL) 0066 JNI_CONSTANT(jint, TYPE_REQUIRED) 0067 JNI_CONSTANT(jint, TYPE_RESOURCE) 0068 }; 0069 0070 /** CalendarContract.RemindersColumns wrapper. */ 0071 class RemindersColumns 0072 { 0073 JNI_UNMANAGED_OBJECT(RemindersColumns, android::provider::CalendarContract_RemindersColumns) 0074 0075 JNI_CONSTANT(jint, METHOD_ALARM) 0076 JNI_CONSTANT(jint, METHOD_ALERT) 0077 JNI_CONSTANT(jint, METHOD_DEFAULT) 0078 JNI_CONSTANT(jint, METHOD_EMAIL) 0079 JNI_CONSTANT(jint, METHOD_SMS) 0080 }; 0081 0082 } 0083 0084 #endif // KANDROIDEXTRAS_OPENABLECOLUMNS_H