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

Modified Files:
      Tag: release-2-0-patches
        clientproxy.cc 
Log Message:
applied patch to add SetReplaceRule

Index: clientproxy.cc
===================================================================
RCS file: 
/cvsroot/playerstage/code/player/client_libs/libplayerc++/clientproxy.cc,v
retrieving revision 1.11
retrieving revision 1.11.2.1
diff -C2 -d -r1.11 -r1.11.2.1
*** clientproxy.cc      7 Mar 2006 12:01:55 -0000       1.11
--- clientproxy.cc      5 Jun 2007 20:59:47 -0000       1.11.2.1
***************
*** 71,74 ****
--- 71,91 ----
  }
  
+ // add replace rule
+ void ClientProxy::SetReplaceRule(bool aReplace,
+                                  int aType,
+                                  int aSubtype)
+ {
+   scoped_lock_t lock(mPc->mMutex);
+   if (0!=playerc_client_set_replace_rule(mClient,
+                                          mInfo->addr.interf,
+                                          mInfo->addr.index,
+                                          aType,
+                                          aSubtype,
+                                          aReplace))
+   {
+     throw PlayerError("ClientProxy::SetReplaceRule()", playerc_error_str());
+   }
+ }
+ 
  void ClientProxy::NotFresh()
  {


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to