-rw-r--r-- | core/launcher/serverapp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/launcher/serverapp.h b/core/launcher/serverapp.h index fe3f24a..4d9f808 100644 --- a/core/launcher/serverapp.h +++ b/core/launcher/serverapp.h | |||
@@ -85,29 +85,32 @@ private: | |||
85 | 85 | ||
86 | class ServerApplication : public QPEApplication | 86 | class ServerApplication : public QPEApplication |
87 | { | 87 | { |
88 | Q_OBJECT | 88 | Q_OBJECT |
89 | public: | 89 | public: |
90 | ServerApplication( int& argc, char **argv, Type t ); | 90 | ServerApplication( int& argc, char **argv, Type t ); |
91 | ~ServerApplication(); | 91 | ~ServerApplication(); |
92 | 92 | ||
93 | static bool doRestart; | 93 | static bool doRestart; |
94 | static bool allowRestart; | 94 | static bool allowRestart; |
95 | static bool screenLocked(); | 95 | static bool screenLocked(); |
96 | static void login(bool at_poweron); | 96 | static void login(bool at_poweron); |
97 | |||
98 | static bool isStarting(); | ||
97 | 99 | ||
98 | static void switchLCD ( bool on ); // only for togglePower in Desktop | 100 | static void switchLCD ( bool on ); // only for togglePower in Desktop |
99 | static void soundAlarm(); // only because QCop soundAlarm() is defined in QPE/TaskBar | 101 | static void soundAlarm(); // only because QCop soundAlarm() is defined in QPE/TaskBar |
100 | 102 | ||
101 | void restart(); | 103 | void restart(); |
104 | int exec(); | ||
102 | 105 | ||
103 | signals: | 106 | signals: |
104 | void menu(); | 107 | void menu(); |
105 | void home(); | 108 | void home(); |
106 | void launch(); | 109 | void launch(); |
107 | void power(); | 110 | void power(); |
108 | void backlight(); | 111 | void backlight(); |
109 | void symbol(); | 112 | void symbol(); |
110 | void numLockStateToggle(); | 113 | void numLockStateToggle(); |
111 | void capsLockStateToggle(); | 114 | void capsLockStateToggle(); |
112 | void prepareForRestart(); | 115 | void prepareForRestart(); |
113 | void activate(const Opie::ODeviceButton*,bool); | 116 | void activate(const Opie::ODeviceButton*,bool); |
@@ -146,20 +149,21 @@ private: | |||
146 | DesktopPowerAlerter *pa; | 149 | DesktopPowerAlerter *pa; |
147 | PowerStatus *m_ps, *m_ps_last; | 150 | PowerStatus *m_ps, *m_ps_last; |
148 | OpieScreenSaver *m_screensaver; | 151 | OpieScreenSaver *m_screensaver; |
149 | QTimer *m_apm_timer; | 152 | QTimer *m_apm_timer; |
150 | QDateTime m_suspendTime; | 153 | QDateTime m_suspendTime; |
151 | int m_powerVeryLow; | 154 | int m_powerVeryLow; |
152 | int m_powerCritical; | 155 | int m_powerCritical; |
153 | int m_currentPowerLevel; | 156 | int m_currentPowerLevel; |
154 | 157 | ||
155 | bool m_keyclick_sound : 1; | 158 | bool m_keyclick_sound : 1; |
156 | bool m_screentap_sound : 1; | 159 | bool m_screentap_sound : 1; |
157 | bool m_alarm_sound : 1; | 160 | bool m_alarm_sound : 1; |
161 | static bool ms_is_starting; | ||
158 | 162 | ||
159 | 163 | ||
160 | friend class KeyFilter; | 164 | friend class KeyFilter; |
161 | }; | 165 | }; |
162 | 166 | ||
163 | 167 | ||
164 | #endif // SERVERAPP_H | 168 | #endif // SERVERAPP_H |
165 | 169 | ||