mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Additional change for r860. Improved writing the network statistics to
Rainmeter.stats.
This commit is contained in:
@ -45,8 +45,8 @@ public:
|
||||
|
||||
static void UpdateStats();
|
||||
static void ResetStats();
|
||||
static void ReadStats(const WCHAR* iniFile);
|
||||
static void WriteStats(const WCHAR* iniFile);
|
||||
static void ReadStats(const WCHAR* iniFile, std::wstring& statsDate);
|
||||
static void WriteStats(const WCHAR* iniFile, const WCHAR* statsDate);
|
||||
|
||||
static void InitializeNewApi();
|
||||
static void FinalizeNewApi();
|
||||
@ -56,6 +56,8 @@ protected:
|
||||
ULONG64 GetNetOctets(NET net);
|
||||
ULONG64 GetNetStatsValue(NET net);
|
||||
|
||||
static void AppendStatsValue(std::wstring& data, const WCHAR* key, const WCHAR* value);
|
||||
|
||||
double m_CurrentTraffic;
|
||||
double m_TrafficValue;
|
||||
UINT m_Interface;
|
||||
|
Reference in New Issue
Block a user