aboutsummaryrefslogtreecommitdiffstats
path: root/Java/com_phidgets_WeightSensorPhidget.c
blob: 59a88bd50395d811f071069c465d5bdf9457d4e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "../stdafx.h"
#include "phidget_jni.h"
#include "com_phidgets_WeightSensorPhidget.h"
#include "../cphidgetweightsensor.h"

EVENT_VARS(weightChange, WeightChange)

JNI_LOAD(weight, WeightSensor)
	EVENT_VAR_SETUP(weight, weightChange, WeightChange, D, V)
}

EVENT_HANDLER(WeightSensor, weightChange, WeightChange, 
			  CPhidgetWeightSensor_set_OnWeightChange_Handler, double)

JNI_CREATE(WeightSensor)
JNI_GETFUNC(WeightSensor, WeightChangeTrigger, WeightChangeTrigger, jdouble)
JNI_SETFUNC(WeightSensor, WeightChangeTrigger, WeightChangeTrigger, jdouble)
JNI_GETFUNC(WeightSensor, Weight, Weight, jdouble)
'>Imported Upstream version 0.7.4upstream/0.7.4Jonathan McCrohan13-134/+244 2012-02-26Update 02-fix-wavemonrc.5-man-errors.patchdebian/0.7.3-1Jonathan McCrohan1-14/+23 Add fix for hyphen-used-as-minus-sign linitan warning. 2012-02-26Switch to dh-style rules.Jonathan McCrohan3-10/+4 2012-02-21Refresh patchesJonathan McCrohan3-1/+149 2012-02-21Refresh changelogJonathan McCrohan1-4/+5 2012-02-21Add details to patch.Jonathan McCrohan1-0/+5 2012-02-06Promote myself to maintainer.Jonathan McCrohan3-9/+8 2012-02-05Change to dpkg-source 3.0Jonathan McCrohan1-2/+2 2012-02-05Update broken handcrafted patchJonathan McCrohan1-2/+2 2012-02-05Use 3.0 (quilt)Jonathan McCrohan2-2/+2 2012-02-05Use 3.0 (quilt)Jonathan McCrohan3-0/+13 2012-02-05Use quiltJonathan McCrohan3-6/+9 2012-02-05Update changelogJonathan McCrohan1-1/+6 2012-02-05clean up packagingJonathan McCrohan2-2/+1 2012-02-05fix errorsJonathan McCrohan3-10/+3 2012-02-05Undo accidental source changesJonathan McCrohan2-9/+9 2012-02-05Add patch to remove copyingJonathan McCrohan2-1/+9