diff options
author | Simon Busch <morphis@gravedo.de> | 2012-01-29 14:40:58 +0100 |
---|---|---|
committer | Simon Busch <morphis@gravedo.de> | 2012-02-03 17:39:56 +0100 |
commit | 3f3690d87ab76ff51f6197f1c4af4a30745ddcb2 (patch) | |
tree | f3fcb5b4e7d2a0937fabd51b8da30e6a01f820e5 /vapi | |
parent | 151efe36ffa69b841f7e9a6c4245015e2ab15657 (diff) | |
download | external_libsamsung-ipc-3f3690d87ab76ff51f6197f1c4af4a30745ddcb2.zip external_libsamsung-ipc-3f3690d87ab76ff51f6197f1c4af4a30745ddcb2.tar.gz external_libsamsung-ipc-3f3690d87ab76ff51f6197f1c4af4a30745ddcb2.tar.bz2 |
Rework device specific code so we can build one library for all devices now
Signed-off-by: Simon Busch <morphis@gravedo.de>
Diffstat (limited to 'vapi')
-rw-r--r-- | vapi/samsung-ipc-1.0.vapi | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/vapi/samsung-ipc-1.0.vapi b/vapi/samsung-ipc-1.0.vapi index bfc0929..6caa82f 100644 --- a/vapi/samsung-ipc-1.0.vapi +++ b/vapi/samsung-ipc-1.0.vapi @@ -29,6 +29,13 @@ namespace SamsungIpc RFS, } + [CCode (cname = "int", cprefix = "IPC_DEVICE_", has_type_id = false)] + public enum DeviceType + { + CRESPO, + H1, + } + [CCode (cname = "int", cprefix = "IPC_TYPE_", has_type_id = false)] public enum RequestType { @@ -1197,7 +1204,7 @@ namespace SamsungIpc [CCode (cname = "struct ipc_client", cprefix = "ipc_client_")] public class Client { - public Client(ClientType type); + public Client(DeviceType device_type, ClientType client_type); [CCode (delagate_target_pos = 0.9)] public int set_log_handler(LogHandlerCb log_cb); public int set_io_handlers(TransportCb write_cb, TransportCb read_cb); |