summaryrefslogtreecommitdiff
path: root/synproto.h
diff options
context:
space:
mode:
authorPeter Osterlund <petero2@telia.com>2004-04-12 21:48:48 +0200
committerPeter Osterlund <petero2@telia.com>2006-04-09 04:02:01 +0200
commit324421dd8683b09546312a6c09338a41cc65b235 (patch)
tree0c9d70c25d5110fbd70accd22d627dbae67c472a /synproto.h
parent05011c8079c3fe515da7963f99be0d1c6a043272 (diff)
Moved reading of hardware state to the protocol specific
files.
Diffstat (limited to 'synproto.h')
-rw-r--r--synproto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/synproto.h b/synproto.h
index 11a9b98..6e45334 100644
--- a/synproto.h
+++ b/synproto.h
@@ -55,11 +55,14 @@ enum SynapticsProtocol {
};
struct synapticshw;
+struct _SynapticsPrivateRec;
struct SynapticsProtocolOperations {
void (*DeviceOnHook)(LocalDevicePtr local);
void (*DeviceOffHook)(LocalDevicePtr local);
Bool (*QueryHardware)(LocalDevicePtr local, struct synapticshw *synhw, Bool *hasGuest);
+ Bool (*ReadHwState)(LocalDevicePtr local, struct _SynapticsPrivateRec *priv,
+ struct SynapticsHwState *hwRet);
};
extern struct SynapticsProtocolOperations psaux_proto_operations;