Fetching contributors…
Cannot retrieve contributors at this time
38 lines (28 sloc) 1023 Bytes
/* 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 <>. */
#include "Measure.h"
class MeasureUptime : public Measure
MeasureUptime(Skin* skin, const WCHAR* name);
virtual ~MeasureUptime();
MeasureUptime(const MeasureUptime& other) = delete;
MeasureUptime& operator=(MeasureUptime other) = delete;
virtual UINT GetTypeID() { return TypeID<MeasureUptime>(); }
virtual const WCHAR* GetStringValue();
virtual void ReadOptions(ConfigParser& parser, const WCHAR* section);
virtual void UpdateValue();
bool m_AddDaysToHours;
std::wstring m_Format;
double m_Seconds;
bool m_SecondsDefined;