Update of /cvsroot/playerstage/code/player/client_libs/libplayerc++
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2759/libplayerc++

Modified Files:
        opaqueproxy.cc playerc++.h 
Log Message:
changes to enable opaque requests


Index: opaqueproxy.cc
===================================================================
RCS file: 
/cvsroot/playerstage/code/player/client_libs/libplayerc++/opaqueproxy.cc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** opaqueproxy.cc      10 Apr 2006 13:27:47 -0000      1.1
--- opaqueproxy.cc      18 Dec 2006 12:17:58 -0000      1.2
***************
*** 71,74 ****
--- 71,87 ----
  }
  
+ int
+ OpaqueProxy::SendReq(player_opaque_data_t* aRequest)
+ {
+   player_opaque_data_t aReply;
+   int result = playerc_opaque_req(mDevice, aRequest, &aReply);
+   if (result == 0)
+   {
+     memcpy(mDevice->data, aReply.data, aReply.data_count);
+     mDevice->data_count = aReply.data_count;
+   }
+   return result;
+ }
+ 
  void
  OpaqueProxy::Unsubscribe()

Index: playerc++.h
===================================================================
RCS file: 
/cvsroot/playerstage/code/player/client_libs/libplayerc++/playerc++.h,v
retrieving revision 1.77
retrieving revision 1.78
diff -C2 -d -r1.77 -r1.78
*** playerc++.h 28 Nov 2006 00:02:20 -0000      1.77
--- playerc++.h 18 Dec 2006 12:17:58 -0000      1.78
***************
*** 1426,1429 ****
--- 1426,1432 ----
      void SendCmd(player_opaque_data_t* aData);
  
+     /// Send a request
+     int SendReq(player_opaque_data_t* aRequest);
+ 
  };
  


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to