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_CALENDARPLUGIN_H
0007 #define KCALENDARCORE_JNI_CALENDARPLUGIN_H
0008 
0009 #include "calendardata.h"
0010 
0011 #include "kandroidextras/jnitypes.h"
0012 #include "kandroidextras/jnimethod.h"
0013 #include "kandroidextras/jniproperty.h"
0014 #include "kandroidextras/javatypes.h"
0015 #include "kandroidextras/androidtypes.h"
0016 
0017 JNI_TYPE(org, kde, kcalendarcore, CalendarPlugin)
0018 
0019 /** JNI wrapper for the CalendarPlugin class. */
0020 class JniCalendarPlugin {
0021     JNI_OBJECT(JniCalendarPlugin, org::kde::kcalendarcore::CalendarPlugin)
0022 public:
0023     JNI_CONSTRUCTOR(JniCalendarPlugin, KAndroidExtras::android::content::Context)
0024     JNI_METHOD(KAndroidExtras::Jni::Array<JniCalendarData>, getCalendars)
0025 };
0026 
0027 #endif