diff options
author | Oliver Schneider <oliver@assarbad.net> | 2017-01-10 00:46:40 +0300 |
---|---|---|
committer | Oliver Schneider <oliver@assarbad.net> | 2017-01-10 00:46:40 +0300 |
commit | 7ec44caad3fdc9fa92312e82b3d2a7200615a39a (patch) | |
tree | c6012b7a93df84af05a7362ebc6e1eb646c19b07 /windirstat/WorkLimiter.h | |
parent | c40cbf3095e4c769d80c6837476a7b0fb452fbf0 (diff) |
All source files now with LF line endings again
Updated the logo files a bit, renamed some others
Diffstat (limited to 'windirstat/WorkLimiter.h')
-rw-r--r-- | windirstat/WorkLimiter.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/windirstat/WorkLimiter.h b/windirstat/WorkLimiter.h index ffda715..c494599 100644 --- a/windirstat/WorkLimiter.h +++ b/windirstat/WorkLimiter.h @@ -17,30 +17,30 @@ // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -//
+// #ifndef __WDS_WORKLIMITER_H__ #define __WDS_WORKLIMITER_H__ -#pragma once
-
-#include <WinDef.h>
-
-class CWorkLimiter
-{
-public:
- CWorkLimiter();
- ~CWorkLimiter();
-
- void Start(DWORD ticks);
- bool IsDone() const;
- void DoFileWork();
-
-private:
- DWORD Now() const;
-
-private:
- mutable bool m_done;
- DWORD m_tickLimit;
- mutable DWORD m_prevTicks;
-};
-
+#pragma once + +#include <WinDef.h> + +class CWorkLimiter +{ +public: + CWorkLimiter(); + ~CWorkLimiter(); + + void Start(DWORD ticks); + bool IsDone() const; + void DoFileWork(); + +private: + DWORD Now() const; + +private: + mutable bool m_done; + DWORD m_tickLimit; + mutable DWORD m_prevTicks; +}; + #endif
\ No newline at end of file |