Update of /cvsroot/playerstage/code/player/client_libs/libplayerc
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32719/client_libs/libplayerc
Modified Files:
device.c playerc.h
Log Message:
added C and C++ methods for capabilities checking
Index: playerc.h
===================================================================
RCS file: /cvsroot/playerstage/code/player/client_libs/libplayerc/playerc.h,v
retrieving revision 1.192
retrieving revision 1.193
diff -C2 -d -r1.192 -r1.193
*** playerc.h 5 May 2006 06:20:00 -0000 1.192
--- playerc.h 6 May 2006 23:08:58 -0000 1.193
***************
*** 777,780 ****
--- 777,784 ----
int playerc_device_unsubscribe(playerc_device_t *device);
+ /** @brief Request capabilities of device */
+ int playerc_device_hascapability(playerc_device_t *device, uint32_t type,
uint32_t subtype);
+
+
/** @} */
/**************************************************************************/
Index: device.c
===================================================================
RCS file: /cvsroot/playerstage/code/player/client_libs/libplayerc/device.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** device.c 24 Aug 2005 21:42:43 -0000 1.11
--- device.c 6 May 2006 23:08:58 -0000 1.12
***************
*** 102,103 ****
--- 102,113 ----
}
+ // Query the capabilities of a device
+ int playerc_device_hascapability(playerc_device_t *device, uint32_t type,
uint32_t subtype)
+ {
+ player_capabilities_req_t capreq;
+ capreq.type = type;
+ capreq.subtype = subtype;
+
+ return playerc_client_request(device->client, device,
PLAYER_CAPABILTIES_REQ,
+ NULL, (void*)&capreq, sizeof(capreq)) >= 0 ? 1 :
0;
+ }
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Playerstage-commit mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit