#include <sbScreenSaverSuppressor.h>
Public Member Functions | |
virtual NS_DECL_ISUPPORTS_INHERITED nsresult | OnSuppress (PRBool aSuppress) |
sbScreenSaverSuppressor () | |
virtual | ~sbScreenSaverSuppressor () |
NS_DECL_ISUPPORTS_INHERITED | sbScreenSaverSuppressor () |
virtual | ~sbScreenSaverSuppressor () |
virtual nsresult | OnSuppress (PRBool aSuppress) |
NS_DECL_ISUPPORTS_INHERITED | sbScreenSaverSuppressor () |
virtual | ~sbScreenSaverSuppressor () |
virtual nsresult | OnSuppress (PRBool aSuppress) |
Public Member Functions inherited from sbBaseScreenSaverSuppressor | |
NS_DECL_ISUPPORTS NS_DECL_NSIOBSERVER NS_DECL_SBISCREENSAVERSUPPRESSOR | sbBaseScreenSaverSuppressor () |
virtual | ~sbBaseScreenSaverSuppressor () |
nsresult | Init () |
Public Member Functions inherited from sbIScreenSaverSuppressor | |
long | suppress (in boolean aSuppress) |
Get/set screen saver suppression. True indicates the screen saver is suppressed. More... | |
Static Public Member Functions | |
static void | UpdateSystemActivityCallback (nsITimer *aTimer, void *aClosure) |
Static Public Member Functions inherited from sbBaseScreenSaverSuppressor | |
static NS_METHOD | RegisterSelf (nsIComponentManager *aCompMgr, nsIFile *aPath, const char *aLoaderStr, const char *aType, const nsModuleComponentInfo *aInfo) |
Public Attributes | |
nsCOMPtr< nsITimer > | mUpdateSystemActivityTimer |
Static Public Attributes | |
static const PRUint32 | UPDATE_SYSTEM_ACTIVITY_PERIOD = 30 * 1000 |
Additional Inherited Members | |
Protected Attributes inherited from sbBaseScreenSaverSuppressor | |
PRInt32 | mSuppress |
PRPackedBool | mUserSetting |
PRPackedBool | mHasUserSetting |
This class provides screen saver suppressor services.
Definition at line 69 of file sbScreenSaverSuppressor.h.
sbScreenSaverSuppressor::sbScreenSaverSuppressor | ( | ) |
Construct a screen saver suppressor object.
Definition at line 110 of file sbScreenSaverSuppressor.cpp.
|
virtual |
Destroy the screen saver suppressor object.
Definition at line 121 of file sbScreenSaverSuppressor.cpp.
NS_DECL_ISUPPORTS_INHERITED sbScreenSaverSuppressor::sbScreenSaverSuppressor | ( | ) |
|
virtual |
NS_DECL_ISUPPORTS_INHERITED sbScreenSaverSuppressor::sbScreenSaverSuppressor | ( | ) |
|
virtual |
|
virtual |
Implements sbBaseScreenSaverSuppressor.
|
virtual |
Implements sbBaseScreenSaverSuppressor.
|
virtual |
Implements sbBaseScreenSaverSuppressor.
Definition at line 45 of file sbScreenSaverSuppressor.mm.
|
static |
Definition at line 73 of file sbScreenSaverSuppressor.mm.
nsCOMPtr<nsITimer> sbScreenSaverSuppressor::mUpdateSystemActivityTimer |
Definition at line 49 of file sbScreenSaverSuppressor.h.
|
static |
Definition at line 47 of file sbScreenSaverSuppressor.h.