Update of /cvsroot/playerstage/code/player/client_libs/libplayerc++
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13943/client_libs/libplayerc++
Modified Files:
Tag: release-2-0-patches
playerc++.h wifiproxy.cc
Log Message:
applied patch 1766099
Index: playerc++.h
===================================================================
RCS file:
/cvsroot/playerstage/code/player/client_libs/libplayerc++/playerc++.h,v
retrieving revision 1.54.2.12
retrieving revision 1.54.2.13
diff -C2 -d -r1.54.2.12 -r1.54.2.13
*** playerc++.h 2 Oct 2007 21:04:31 -0000 1.54.2.12
--- playerc++.h 18 Oct 2007 22:21:12 -0000 1.54.2.13
***************
*** 2181,2184 ****
--- 2181,2198 ----
~WiFiProxy();
+ int GetLinkCount(){ return mDevice->link_count; };
+ char* GetOwnIP(){ return mDevice->ip; };
+
+ char* GetLinkIP(int index) { return (char*)
mDevice->links[index].ip; };
+ char* GetLinkMAC(int index) { return (char*)
mDevice->links[index].mac; };
+ char* GetLinkESSID(int index) { return
(char*)mDevice->links[index].essid; };
+ double GetLinkFreq(int index) {return
mDevice->links[index].freq;};
+ int GetLinkMode(int index) { return
mDevice->links[index].mode; };
+ int GetLinkEncrypt(int index) {return
mDevice->links[index].encrypt; };
+ int GetLinkQuality(int index) { return
mDevice->links[index].qual; };
+ int GetLinkLevel(int index) {return
mDevice->links[index].level; };
+ int GetLinkNoise(int index) {return
mDevice->links[index].noise; } ;
+
+ //player_wifi_link_t
// int GetLinkQuality(char/// ip = NULL);
// int GetLevel(char/// ip = NULL);
Index: wifiproxy.cc
===================================================================
RCS file:
/cvsroot/playerstage/code/player/client_libs/libplayerc++/wifiproxy.cc,v
retrieving revision 1.5
retrieving revision 1.5.4.1
diff -C2 -d -r1.5 -r1.5.4.1
*** wifiproxy.cc 24 Oct 2005 09:02:40 -0000 1.5
--- wifiproxy.cc 18 Oct 2007 22:21:12 -0000 1.5.4.1
***************
*** 27,30 ****
--- 27,35 ----
#include "playerc++.h"
+
+ /*
+ * methods for the proxy included in playerc++
+ */
+
using namespace PlayerCc;
***************
*** 44,47 ****
--- 49,53 ----
}
+
void
WiFiProxy::Subscribe(uint aIndex)
***************
*** 70,74 ****
{
os << "#WiFi (" << c.GetInterface() << ":" << c.GetIndex() << ")" <<
std::endl;
! return os;
}
--- 76,80 ----
{
os << "#WiFi (" << c.GetInterface() << ":" << c.GetIndex() << ")" <<
std::endl;
! return os;
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit