aboutsummaryrefslogtreecommitdiffstats
path: root/libical/src/java/jlibical_utils_cxx.h
diff options
context:
space:
mode:
Diffstat (limited to 'libical/src/java/jlibical_utils_cxx.h')
-rw-r--r--libical/src/java/jlibical_utils_cxx.h59
1 files changed, 0 insertions, 59 deletions
diff --git a/libical/src/java/jlibical_utils_cxx.h b/libical/src/java/jlibical_utils_cxx.h
deleted file mode 100644
index a6cdbc56be..0000000000
--- a/libical/src/java/jlibical_utils_cxx.h
+++ /dev/null
@@ -1,59 +0,0 @@
-
-/*======================================================================
- FILE: jlibical_utils_cxx.h
- CREATOR: Srinivasa Boppana/George Norman
- (C) COPYRIGHT 2002, Critical Path
-======================================================================*/
-
-#ifndef TEST_CXX_H
-#define TEST_CXX_H
-
-#ifndef JNI_H
-#include <jni.h>
-#endif
-
-class VComponent;
-class ICalProperty;
-class ICalValue;
-class ICalParameter;
-struct icaltimetype;
-struct icaltriggertype;
-struct icaldurationtype;
-struct icalrecurrencetype;
-struct icalperiodtype;
-
-// get & set
-void* getCObjectPtr(JNIEnv *env, jobject anObj);
-void setCObjectPtr(JNIEnv *env, jobject anObj, void* val);
-
-// type-safe getters
-VComponent* getSubjectAsVComponent(JNIEnv *env, jobject surrogateComponent, int exceptionType);
-ICalProperty* getSubjectAsICalProperty(JNIEnv *env, jobject surrogateProperty, int exceptionType);
-ICalValue* getSubjectAsICalValue(JNIEnv *env, jobject surrogateValue, int exceptionType);
-ICalParameter* getSubjectAsICalParameter(JNIEnv *env, jobject surrogateParameter, int exceptionType);
-
-bool copyObjToicaltimetype(JNIEnv *env, jobject src, icaltimetype* dest);
-bool copyObjToicaltriggertype(JNIEnv *env, jobject src, icaltriggertype* dest);
-bool copyObjToicaldurationtype(JNIEnv *env, jobject src, icaldurationtype* dest);
-bool copyObjToicalrecurrencetype(JNIEnv *env, jobject src, icalrecurrencetype* dest);
-bool copyObjToicalperiodtype(JNIEnv *env, jobject src, icalperiodtype* dest);
-
-// exception handling
-void throwException( JNIEnv *env, int cpErr );
-
-// create objects
-jobject createNewVComponentSurrogate(JNIEnv *env, VComponent* subject);
-jobject createNewICalPropertySurrogate(JNIEnv *env, ICalProperty* subject);
-jobject createNewICalValueSurrogate(JNIEnv *env, ICalValue* subject);
-jobject createNewICalParameterSurrogate(JNIEnv *env, ICalParameter* subject);
-
-jobject createNewICalTimeType(JNIEnv *env, icaltimetype* source);
-jobject createNewICalTriggerType(JNIEnv *env, icaltriggertype* source);
-jobject createNewICalDurationType(JNIEnv *env, icaldurationtype* source);
-jobject createNewICalRecurrenceType(JNIEnv *env, icalrecurrencetype* source);
-jobject createNewICalPeriodType(JNIEnv *env, icalperiodtype* source);
-
-jobject doCreateNewSurrogate(JNIEnv *env, jclass surrogateClass, jlong subject);
-
-
-#endif /*TEST_CXX_H*/