File indexing completed on 2024-11-24 04:42:06

0001 /*
0002     SPDX-FileCopyrightText: 2022 Volker Krause <vkrause@kde.org>
0003     SPDX-License-Identifier: LGPL-2.0-or-later
0004 */
0005 
0006 #ifndef KCALENDARCORE_JNI_CALENDARDATA_H
0007 #define KCALENDARCORE_JNI_CALENDARDATA_H
0008 
0009 #include "kandroidextras/jniobject.h"
0010 #include "kandroidextras/jniproperty.h"
0011 #include "kandroidextras/jnitypes.h"
0012 #include "kandroidextras/javatypes.h"
0013 
0014 JNI_TYPE(org, kde, kcalendarcore, CalendarData)
0015 
0016 /** JNI wrapper for the CalendarPlugin class. */
0017 class JniCalendarData {
0018     JNI_OBJECT(JniCalendarData, org::kde::kcalendarcore::CalendarData)
0019 public:
0020     JNI_PROPERTY(jlong, id)
0021     JNI_PROPERTY(KAndroidExtras::java::lang::String, displayName)
0022     JNI_PROPERTY(jint, accessLevel)
0023     JNI_PROPERTY(jint, color)
0024     JNI_PROPERTY(KAndroidExtras::java::lang::String, timezone)
0025     JNI_PROPERTY(KAndroidExtras::java::lang::String, owner)
0026 };
0027 
0028 #endif