forked from rainmeter/rainmeter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMeasureMemory.h
32 lines (24 loc) · 901 Bytes
/
MeasureMemory.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* Copyright (C) 2001 Rainmeter Project Developers
*
* This Source Code Form is subject to the terms of the GNU General Public
* License; either version 2 of the License, or (at your option) any later
* version. If a copy of the GPL was not distributed with this file, You can
* obtain one at <https://www.gnu.org/licenses/gpl-2.0.html>. */
#ifndef __MEASUREMEMORY_H__
#define __MEASUREMEMORY_H__
#include "Measure.h"
class MeasureMemory : public Measure
{
public:
MeasureMemory(Skin* skin, const WCHAR* name);
virtual ~MeasureMemory();
MeasureMemory(const MeasureMemory& other) = delete;
MeasureMemory& operator=(MeasureMemory other) = delete;
virtual UINT GetTypeID() { return TypeID<MeasureMemory>(); }
protected:
virtual void ReadOptions(ConfigParser& parser, const WCHAR* section);
virtual void UpdateValue();
private:
bool m_Total;
};
#endif