📄 gaugethresholdjni.cpp
字号:
ThrowException( JniEnv, Ex ); } catch (...) { ThrowUnknownException( JniEnv, IntelMobileText("DateGaugeThreshold"), IntelMobileText("SetLowThreshold()") ); } return NULL;}/* * Class: com_intel_mobile_threshold_DateGaugeThreshold * Method: SetOffset * Signature: (Ljava/util/Date;)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_DateGaugeThreshold_SetOffsetNative (JNIEnv *JniEnv, jobject JObject, jobject offset){ try { DateGaugeThreshold * TheDateGaugeThreshold = (DateGaugeThreshold *) Get_nativeObjRef(JniEnv, JObject); return TheDateGaugeThreshold->SetOffset( jobject2DATE(JniEnv, offset) ); } catch (IntelMobileException Ex) { ThrowException( JniEnv, Ex ); } catch (...) { ThrowUnknownException( JniEnv, IntelMobileText("DateGaugeThreshold"), IntelMobileText("SetOffset()")); } return NULL;}/********************************************* Int64Gauge ********************************************//* * Class: com_intel_mobile_threshold_Int64GaugeThreshold * Method: constructor * Signature: ()V */JNIEXPORT void JNICALL Java_com_intel_mobile_threshold_Int64GaugeThreshold_constructor (JNIEnv *JniEnv, jobject JObject){ try { Int64GaugeThreshold * TheInt64GaugeThreshold = new Int64GaugeThreshold(); Set_nativeObjRef( JniEnv, JObject, (jlong) TheInt64GaugeThreshold ); } catch (IntelMobileException Ex) { ThrowException( JniEnv, Ex ); } catch (...) { ThrowUnknownException( JniEnv, IntelMobileText("Int64GaugeThreshold"), IntelMobileText("constructor") ); }}/* * Class: com_intel_mobile_threshold_Int64GaugeThreshold * Method: SetObservedProperty * Signature: (Lcom/intel/mobile/base/Int64Property;)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_Int64GaugeThreshold_SetObservedPropertyNative (JNIEnv *JniEnv, jobject JObject, jobject observedProperty){ try { Int64GaugeThreshold * TheInt64GaugeThreshold = (Int64GaugeThreshold *) Get_nativeObjRef(JniEnv, JObject); Int64Property * MyInt64Property = (Int64Property *) Get_nativeObjRef(JniEnv, observedProperty); return TheInt64GaugeThreshold->SetObservedProperty( *MyInt64Property ); } catch (IntelMobileException Ex) { ThrowException( JniEnv, Ex ); } catch (...) { ThrowUnknownException( JniEnv, IntelMobileText("Int64GaugeThreshold"), IntelMobileText("SetObservedProperty()") ); } return NULL;}/* * Class: com_intel_mobile_threshold_Int64GaugeThreshold * Method: GetHighThreshold * Signature: ()J */JNIEXPORT jlong JNICALL Java_com_intel_mobile_threshold_Int64GaugeThreshold_GetHighThresholdNative (JNIEnv *JniEnv, jobject JObject){ try { Int64GaugeThreshold * TheInt64GaugeThreshold = (Int64GaugeThreshold *) Get_nativeObjRef(JniEnv, JObject); return TheInt64GaugeThreshold->GetHighThreshold(); } catch (IntelMobileException Ex) { ThrowException( JniEnv, Ex ); } catch (...) { ThrowUnknownException( JniEnv, IntelMobileText("Int64GaugeThreshold"), IntelMobileText("GetHighThreshold()") ); } return NULL;}/* * Class: com_intel_mobile_threshold_Int64GaugeThreshold * Method: GetLowThreshold * Signature: ()J */JNIEXPORT jlong JNICALL Java_com_intel_mobile_threshold_Int64GaugeThreshold_GetLowThresholdNative (JNIEnv *JniEnv, jobject JObject){ try { Int64GaugeThreshold * TheInt64GaugeThreshold = (Int64GaugeThreshold *) Get_nativeObjRef(JniEnv, JObject); return TheInt64GaugeThreshold->GetLowThreshold(); } catch (IntelMobileException Ex) { ThrowException( JniEnv, Ex ); } catch (...) { ThrowUnknownException( JniEnv, IntelMobileText("Int64GaugeThreshold"), IntelMobileText("GetLowThreshold()") ); } return NULL;}/* * Class: com_intel_mobile_threshold_Int64GaugeThreshold * Method: GetOffset * Signature: ()J */JNIEXPORT jlong JNICALL Java_com_intel_mobile_threshold_Int64GaugeThreshold_GetOffsetNative (JNIEnv *JniEnv, jobject JObject){ try { Int64GaugeThreshold * TheInt64GaugeThreshold = (Int64GaugeThreshold *) Get_nativeObjRef(JniEnv, JObject); return TheInt64GaugeThreshold->GetOffset(); } catch (IntelMobileException Ex) { ThrowException( JniEnv, Ex ); } catch (...) { ThrowUnknownException( JniEnv, IntelMobileText("Int64GaugeThreshold"), IntelMobileText("GetOffset()")); } return NULL;}/* * Class: com_intel_mobile_threshold_Int64GaugeThreshold * Method: SetHighThreshold * Signature: (J)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_Int64GaugeThreshold_SetHighThresholdNative (JNIEnv *JniEnv, jobject JObject, jlong highThreshold){ try { Int64GaugeThreshold * TheInt64GaugeThreshold = (Int64GaugeThreshold *) Get_nativeObjRef(JniEnv, JObject); return TheInt64GaugeThreshold->SetHighThreshold( highThreshold ); } catch (IntelMobileException Ex) { ThrowException( JniEnv, Ex ); } catch (...) { ThrowUnknownException( JniEnv, IntelMobileText("Int64GaugeThreshold"), IntelMobileText("SetHighThreshold()") ); } return NULL;}/* * Class: com_intel_mobile_threshold_Int64GaugeThreshold * Method: SetLowThreshold * Signature: (J)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_Int64GaugeThreshold_SetLowThresholdNative (JNIEnv *JniEnv, jobject JObject, jlong lowThreshold){ try { Int64GaugeThreshold * TheInt64GaugeThreshold = (Int64GaugeThreshold *) Get_nativeObjRef(JniEnv, JObject); return TheInt64GaugeThreshold->SetLowThreshold( lowThreshold ); } catch (IntelMobileException Ex) { ThrowException( JniEnv, Ex ); } catch (...) { ThrowUnknownException( JniEnv, IntelMobileText("Int64GaugeThreshold"), IntelMobileText("SetLowThreshold()")); } return NULL;}/* * Class: com_intel_mobile_threshold_Int64GaugeThreshold * Method: SetOffset * Signature: (J)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_Int64GaugeThreshold_SetOffsetNative (JNIEnv *JniEnv, jobject JObject, jlong offset){ try { Int64GaugeThreshold * TheInt64GaugeThreshold = (Int64GaugeThreshold *) Get_nativeObjRef(JniEnv, JObject); return TheInt64GaugeThreshold->SetOffset( offset ); } catch (IntelMobileException Ex) { ThrowException( JniEnv, Ex ); } catch (...) { ThrowUnknownException( JniEnv, IntelMobileText("Int64GaugeThreshold"), IntelMobileText("SetOffset()") ); } return NULL;}/********************************************* IntGauge ********************************************//* * Class: com_intel_mobile_threshold_IntGaugeThreshold * Method: constructor * Signature: ()V */JNIEXPORT void JNICALL Java_com_intel_mobile_threshold_IntGaugeThreshold_constructor (JNIEnv *JniEnv, jobject JObject){ try { IntGaugeThreshold * TheIntGaugeThreshold = new IntGaugeThreshold(); Set_nativeObjRef( JniEnv, JObject, (jlong) TheIntGaugeThreshold ); } catch (IntelMobileException Ex) { ThrowException( JniEnv, Ex ); } catch (...) { ThrowUnknownException( JniEnv, IntelMobileText("IntGaugeThreshold"), IntelMobileText("constructor")); }}/* * Class: com_intel_mobile_threshold_IntGaugeThreshold * Method: SetObservedProperty * Signature: (Lcom/intel/mobile/base/IntProperty;)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_IntGaugeThreshold_SetObservedPropertyNative (JNIEnv *JniEnv, jobject JObject, jobject observedProperty){ try { IntGaugeThreshold * TheIntGaugeThreshold = (IntGaugeThreshold *) Get_nativeObjRef(JniEnv, JObject); IntProperty * MyIntProperty = (IntProperty *) Get_nativeObjRef(JniEnv, observedProperty); return TheIntGaugeThreshold->SetObservedProperty( *MyIntProperty ); } catch (IntelMobileException Ex) { ThrowException( JniEnv, Ex ); } catch (...) { ThrowUnknownException( JniEnv, IntelMobileText("IntGaugeThreshold"), IntelMobileText("SetObservedProperty()")); } return NULL;}/* * Class: com_intel_mobile_threshold_IntGaugeThreshold * Method: GetHighThreshold * Signature: ()I */JNIEXPORT jint JNICALL Java_com_intel_mobile_threshold_IntGaugeThreshold_GetHighThresholdNative (JNIEnv *JniEnv, jobject JObject){ try { IntGaugeThreshold * TheIntGaugeThreshold = (IntGaugeThreshold *) Get_nativeObjRef(JniEnv, JObject); return TheIntGaugeThreshold->GetHighThreshold(); } catch (IntelMobileException Ex) { ThrowException( JniEnv, Ex ); } catch (...) { ThrowUnknownException( JniEnv, IntelMobileText("IntGaugeThreshold"), IntelMobileText("GetHighThreshold()")); } return NULL;}/* * Class: com_intel_mobile_threshold_IntGaugeThreshold * Method: GetLowThreshold * Signature: ()I */JNIEXPORT jint JNICALL Java_com_intel_mobile_threshold_IntGaugeThreshold_GetLowThresholdNative (JNIEnv *JniEnv, jobject JObject){ try { IntGaugeThreshold * TheIntGaugeThreshold = (IntGaugeThreshold *) Get_nativeObjRef(JniEnv, JObject); return TheIntGaugeThreshold->GetLowThreshold(); } catch (IntelMobileException Ex) { ThrowException( JniEnv, Ex ); } catch (...) { ThrowUnknownException( JniEnv, IntelMobileText("IntGaugeThreshold"), IntelMobileText("GetLowThreshold()")); } return NULL;}/* * Class: com_intel_mobile_threshold_IntGaugeThreshold * Method: GetOffset * Signature: ()I */JNIEXPORT jint JNICALL Java_com_intel_mobile_threshold_IntGaugeThreshold_GetOffsetNative (JNIEnv *JniEnv, jobject JObject){ try { IntGaugeThreshold * TheIntGaugeThreshold = (IntGaugeThreshold *) Get_nativeObjRef(JniEnv, JObject); return TheIntGaugeThreshold->GetOffset(); } catch (IntelMobileException Ex) { ThrowException( JniEnv, Ex ); } catch (...) { ThrowUnknownException( JniEnv, IntelMobileText("IntGaugeThreshold"), IntelMobileText("GetOffset()")); } return NULL;}/* * Class: com_intel_mobile_threshold_IntGaugeThreshold * Method: SetHighThreshold * Signature: (I)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_IntGaugeThreshold_SetHighThresholdNative (JNIEnv *JniEnv, jobject JObject, jint highThreshold){ try { IntGaugeThreshold * TheIntGaugeThreshold = (IntGaugeThreshold *) Get_nativeObjRef(JniEnv, JObject); return TheIntGaugeThreshold->SetHighThreshold( highThreshold ); } catch (IntelMobileException Ex) { ThrowException( JniEnv, Ex ); } catch (...) { ThrowUnknownException( JniEnv, IntelMobileText("IntGaugeThreshold"), IntelMobileText("SetHighThreshold()") ); } return NULL;}/* * Class: com_intel_mobile_threshold_IntGaugeThreshold * Method: SetLowThreshold * Signature: (I)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_IntGaugeThreshold_SetLowThresholdNative (JNIEnv *JniEnv, jobject JObject, jint lowThreshold){ try { IntGaugeThreshold * TheIntGaugeThreshold = (IntGaugeThreshold *) Get_nativeObjRef(JniEnv, JObject); return TheIntGaugeThreshold->SetLowThreshold( lowThreshold ); } catch (IntelMobileException Ex) { ThrowException( JniEnv, Ex ); } catch (...) { ThrowUnknownException( JniEnv, IntelMobileText("IntGaugeThreshold"), IntelMobileText("SetLowThreshold()")); } return NULL;}/* * Class: com_intel_mobile_threshold_IntGaugeThreshold * Method: SetOffset * Signature: (I)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_IntGaugeThreshold_SetOffsetNative (JNIEnv *JniEnv, jobject JObject, jint offset){ try { IntGaugeThreshold * TheIntGaugeThreshold = (IntGaugeThreshold *) Get_nativeObjRef(JniEnv, JObject); return TheIntGaugeThreshold->SetOffset( offset ); } catch (IntelMobileException Ex) { ThrowException( JniEnv, Ex ); } catch (...) { ThrowUnknownException( JniEnv, IntelMobileText("IntGaugeThreshold"), IntelMobileText("SetOffset()")); } return NULL;}/********************************************* UInt64Gauge ********************************************//* * Class: com_intel_mobile_threshold_UInt64GaugeThreshold * Method: constructor * Signature: ()V */JNIEXPORT void JNICALL Java_com_intel_mobile_threshold_UInt64GaugeThreshold_constructor (JNIEnv *JniEnv, jobject JObject){ try { UInt64GaugeThreshold * TheUInt64GaugeThreshold = new UInt64GaugeThreshold(); Set_nativeObjRef( JniEnv, JObject, (jlong) TheUInt64GaugeThreshold ); } catch (IntelMobileException Ex) { ThrowException( JniEnv, Ex ); } catch (...) { ThrowUnknownException( JniEnv, IntelMobileText("UInt64GaugeThreshold"), IntelMobileText("constructor") ); }}/* * Class: com_intel_mobile_threshold_UInt64GaugeThreshold * Method: SetObservedProperty * Signature: (Lcom/intel/mobile/base/UInt64Property;)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_UInt64GaugeThreshold_SetObservedPropertyNative (JNIEnv *JniEnv, jobject JObject, jobject observedProperty){ try { UInt64GaugeThreshold * TheUInt64GaugeThreshold = (UInt64GaugeThreshold *) Get_nativeObjRef(JniEnv, JObject); UInt64Property * MyUInt64Property = (UInt64Property *) Get_nativeObjRef(JniEnv, observedProperty); return TheUInt64GaugeThreshold->SetObservedProperty( *MyUInt64Property ); } catch (IntelMobileException Ex) { ThrowException( JniEnv, Ex ); } catch (...) { ThrowUnknownException( JniEnv, IntelMobileText("UInt64GaugeThreshold"), IntelMobileText("SetObservedProperty()") ); } return NULL;}/* * Class: com_intel_mobile_threshold_UInt64GaugeThreshold * Method: GetHighThreshold * Signature: ()J */JNIEXPORT jlong JNICALL Java_com_intel_mobile_threshold_UInt64GaugeThreshold_GetHighThresholdNative (JNIEnv *JniEnv, jobject JObject){ try { UInt64GaugeThreshold * TheUInt64GaugeThreshold = (UInt64GaugeThreshold *) Get_nativeObjRef(JniEnv, JObject); return TheUInt64GaugeThreshold->GetHighThreshold(); } catch (IntelMobileException Ex) { ThrowException( JniEnv, Ex ); } catch (...) { ThrowUnknownException( JniEnv, IntelMobileText("UInt64GaugeThreshold"), IntelMobileText("GetHighThreshold()") ); } return NULL;}/* * Class: com_intel_mobile_threshold_UInt64GaugeThreshold * Method: GetLowThreshold * Signature: ()J */JNIEXPORT jlong JNICALL Java_com_intel_mobile_threshold_UInt64GaugeThreshold_GetLowThresholdNative (JNIEnv *JniEnv, jobject JObject){
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -