Changeset 118 for smplayer/vendor/current/src/screensaver.h
- Timestamp:
- Dec 22, 2011, 6:27:52 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/vendor/current/src/screensaver.h
r90 r118 1 1 /* smplayer, GUI front-end for mplayer. 2 Copyright (C) 2006-201 0Ricardo Villalba <rvm@escomposlinux.org>2 Copyright (C) 2006-2011 Ricardo Villalba <rvm@escomposlinux.org> 3 3 4 4 This program is free software; you can redistribute it and/or modify … … 22 22 #define _WINSCREENSAVER_H_ 23 23 24 #ifdef Q_OS_OS2 25 #include <QLibrary> 26 #endif 27 24 28 class WinScreenSaver 25 29 { … … 34 38 void retrieveState(); 35 39 void restoreState(); 40 #ifdef Q_OS_OS2 41 void unload(); 42 #endif 36 43 37 44 private: 45 #ifndef Q_OS_OS2 38 46 int lowpower, poweroff, screensaver; 47 #else 48 QLibrary *SSaver; 49 typedef int (*FuncPtr) (void); 50 FuncPtr SSCore_TempDisable; 51 FuncPtr SSCore_TempEnable; 52 #endif 39 53 bool state_saved, modified; 40 54 };
Note:
See TracChangeset
for help on using the changeset viewer.