diff options
author | Alessio Treglia <alessio@debian.org> | 2012-02-16 11:06:56 +0100 |
---|---|---|
committer | Alessio Treglia <alessio@debian.org> | 2012-02-16 11:06:56 +0100 |
commit | 1d323e54ee434609cf035598486075c9a918a2d3 (patch) | |
tree | 929ad92f19dfbb5492471449f1a6a918ea99c6b8 /src/screensaver.h | |
parent | 99b53d44a60e3e934fc664152c115ae0d6e19920 (diff) |
Imported Upstream version 0.6.10
Diffstat (limited to 'src/screensaver.h')
-rw-r--r-- | src/screensaver.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/screensaver.h b/src/screensaver.h index a1312a8..dc5944a 100644 --- a/src/screensaver.h +++ b/src/screensaver.h @@ -1,5 +1,5 @@ /* smplayer, GUI front-end for mplayer. - Copyright (C) 2006-2010 Ricardo Villalba <rvm@escomposlinux.org> + Copyright (C) 2006-2011 Ricardo Villalba <rvm@escomposlinux.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,6 +21,10 @@ #ifndef _WINSCREENSAVER_H_ #define _WINSCREENSAVER_H_ +#ifdef Q_OS_OS2 +#include <QLibrary> +#endif + class WinScreenSaver { public: @@ -33,9 +37,19 @@ public: private: void retrieveState(); void restoreState(); +#ifdef Q_OS_OS2 + void unload(); +#endif private: +#ifndef Q_OS_OS2 int lowpower, poweroff, screensaver; +#else + QLibrary *SSaver; + typedef int (*FuncPtr) (void); + FuncPtr SSCore_TempDisable; + FuncPtr SSCore_TempEnable; +#endif bool state_saved, modified; }; |