mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Code cleanup
This commit is contained in:
@ -21,7 +21,7 @@
|
||||
|
||||
#include "Measure.h"
|
||||
|
||||
typedef LONG (WINAPI *PROCNTQSI)(UINT,PVOID,ULONG,PULONG);
|
||||
typedef LONG (WINAPI *FPNTQSI)(UINT, PVOID, ULONG, PULONG);
|
||||
|
||||
class CMeasureCPU : public CMeasure
|
||||
{
|
||||
@ -31,6 +31,9 @@ public:
|
||||
|
||||
virtual UINT GetTypeID() { return TypeID<CMeasureCPU>(); }
|
||||
|
||||
static void InitializeStatic();
|
||||
static void FinalizeStatic();
|
||||
|
||||
protected:
|
||||
virtual void ReadOptions(CConfigParser& parser, const WCHAR* section);
|
||||
virtual void UpdateValue();
|
||||
@ -42,7 +45,7 @@ private:
|
||||
|
||||
double m_OldTime[2];
|
||||
|
||||
static PROCNTQSI c_NtQuerySystemInformation;
|
||||
static FPNTQSI c_NtQuerySystemInformation;
|
||||
|
||||
static int c_NumOfProcessors;
|
||||
static ULONG c_BufferSize;
|
||||
|
Reference in New Issue
Block a user