blob: ed7e27fea4dcdc09cd799d1fe1438951e36f0d43 (
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_NNTPFetchServerTimeOperation.h"
#include "MCBaseTypes.h"
#include "JavaHandle.h"
#include "TypesUtils.h"
#include "MCNNTPFetchServerTimeOperation.h"
using namespace mailcore;
#define nativeType NNTPFetchServerTimeOperation
#define javaType nativeType
JNIEXPORT jobject JNICALL Java_com_libmailcore_NNTPFetchServerTimeOperation_time
(JNIEnv * env, jobject obj)
{
MC_POOL_BEGIN;
jobject result = timeToJavaDate(env, MC_JAVA_NATIVE_INSTANCE->time());
MC_POOL_END;
return result;
}
MC_JAVA_BRIDGE
|