aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/java/native/com_libmailcore_IMAPQuotaOperation.cpp
blob: 5ac954f0933cac87b4720caacc85659069a7bd0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "com_libmailcore_IMAPQuotaOperation.h"

#include "MCBaseTypes.h"
#include "JavaHandle.h"
#include "TypesUtils.h"
#include "MCIMAPQuotaOperation.h"

using namespace mailcore;

#define nativeType IMAPQuotaOperation
#define javaType nativeType

JNIEXPORT jint JNICALL Java_com_libmailcore_IMAPQuotaOperation_usage
  (JNIEnv * env, jobject obj)
{
    return MC_JAVA_BRIDGE_GET_SCALAR(jint, usage);
}

JNIEXPORT jint JNICALL Java_com_libmailcore_IMAPQuotaOperation_limit
  (JNIEnv * env, jobject obj)
{
    return MC_JAVA_BRIDGE_GET_SCALAR(jint, limit);
}

MC_JAVA_BRIDGE