mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-17 21:40:36 -04:00
* Moved DataRate interface from rsiface (old) -> rsConfig.
* Internally moved storage of data rate from pqipersongroup -> p3serverconfig * made DataRate + Operating Mode work together. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5889 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
0fa8d55062
commit
de80f2aa3e
10 changed files with 113 additions and 130 deletions
|
@ -278,8 +278,9 @@ virtual uint32_t getOperatingMode() = 0;
|
|||
virtual bool setOperatingMode(uint32_t opMode) = 0;
|
||||
|
||||
/* Data Rate Control - to be moved here */
|
||||
virtual int SetDataRates( int downKb, int upKb ) = 0;
|
||||
virtual int GetDataRates( float &inKb, float &outKb ) = 0;
|
||||
virtual int SetMaxDataRates( int downKb, int upKb ) = 0;
|
||||
virtual int GetMaxDataRates( int &inKb, int &outKb ) = 0;
|
||||
virtual int GetCurrentDataRates( float &inKb, float &outKb ) = 0;
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue