equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2009 - 2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
112 |
112 |
113 This signal is emitted if screensaver wants the device to be unlocked. |
113 This signal is emitted if screensaver wants the device to be unlocked. |
114 */ |
114 */ |
115 |
115 |
116 /*! |
116 /*! |
117 \fn void Screensaver::screenPowerModeRequested(ScreenPowerMode mode) |
117 \fn void Screensaver::activeAreaMoved() |
118 |
118 |
119 This signal is emitted when screensaver wants to switch the power |
119 This signal is emitted when active area of power-save mode screensaver has moved. |
120 mode of the screen, or update the visible area in power save mode. |
|
121 */ |
120 */ |
122 |
121 |
123 /*! |
122 /*! |
124 Returns the state that the Screensaver is currently in. |
123 Returns the state that the Screensaver is currently in. |
125 \return The current state. |
124 \return The current state. |
126 */ |
125 */ |
127 ScreensaverState Screensaver::currentState() |
126 ScreensaverState Screensaver::currentState() |
128 { |
127 { |
129 return m_d->currentState(); |
128 return m_d->currentState(); |
130 } |
129 } |
|
130 |
|
131 /*! |
|
132 \fn virtual Screensaver::ScreenPowerMode currentPowerMode() = 0 |
|
133 |
|
134 Inherited screensavers must implement this function to return the |
|
135 display power mode to be used in the current state. |
|
136 */ |
131 |
137 |
132 /*! |
138 /*! |
133 \fn virtual void getActiveScreenRows(int *firstActiveRow, int *lastActiveRow) = 0 |
139 \fn virtual void getActiveScreenRows(int *firstActiveRow, int *lastActiveRow) = 0 |
134 |
140 |
135 Inherited screensavers must implement this function to return the rows where |
141 Inherited screensavers must implement this function to return the rows where |