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

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

using namespace mailcore;

#define nativeType IMAPIdentityOperation
#define javaType nativeType

JNIEXPORT jobject JNICALL Java_com_libmailcore_IMAPIdentityOperation_serverIdentity
  (JNIEnv * env, jobject obj)
{
    MC_POOL_BEGIN;
    jobject result = MC_JAVA_BRIDGE_GET(serverIdentity);
    MC_POOL_END;
    return result;
}

MC_JAVA_BRIDGE