sbBaseScreenSaverSuppressor Class Referenceabstract

#include <sbBaseScreenSaverSuppressor.h>

Inheritance diagram for sbBaseScreenSaverSuppressor:
[legend]
Collaboration diagram for sbBaseScreenSaverSuppressor:
[legend]

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSIOBSERVER
NS_DECL_SBISCREENSAVERSUPPRESSOR 
sbBaseScreenSaverSuppressor ()
 
virtual ~sbBaseScreenSaverSuppressor ()
 
nsresult Init ()
 
virtual nsresult OnSuppress (PRBool aSuppress)=0
 
- 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 NS_METHOD RegisterSelf (nsIComponentManager *aCompMgr, nsIFile *aPath, const char *aLoaderStr, const char *aType, const nsModuleComponentInfo *aInfo)
 

Protected Attributes

PRInt32 mSuppress
 
PRPackedBool mUserSetting
 
PRPackedBool mHasUserSetting
 

Detailed Description

Definition at line 42 of file sbBaseScreenSaverSuppressor.h.

Constructor & Destructor Documentation

NS_DECL_ISUPPORTS NS_DECL_NSIOBSERVER NS_DECL_SBISCREENSAVERSUPPRESSOR sbBaseScreenSaverSuppressor::sbBaseScreenSaverSuppressor ( )
sbBaseScreenSaverSuppressor::~sbBaseScreenSaverSuppressor ( )
virtual

Definition at line 68 of file sbBaseScreenSaverSuppressor.cpp.

Member Function Documentation

nsresult sbBaseScreenSaverSuppressor::Init ( )

Definition at line 95 of file sbBaseScreenSaverSuppressor.cpp.

virtual nsresult sbBaseScreenSaverSuppressor::OnSuppress ( PRBool  aSuppress)
pure virtual
nsresult sbBaseScreenSaverSuppressor::RegisterSelf ( nsIComponentManager *  aCompMgr,
nsIFile *  aPath,
const char *  aLoaderStr,
const char *  aType,
const nsModuleComponentInfo *  aInfo 
)
static

Definition at line 73 of file sbBaseScreenSaverSuppressor.cpp.

Member Data Documentation

PRPackedBool sbBaseScreenSaverSuppressor::mHasUserSetting
protected

Definition at line 66 of file sbBaseScreenSaverSuppressor.h.

PRInt32 sbBaseScreenSaverSuppressor::mSuppress
protected

Definition at line 64 of file sbBaseScreenSaverSuppressor.h.

PRPackedBool sbBaseScreenSaverSuppressor::mUserSetting
protected

Definition at line 65 of file sbBaseScreenSaverSuppressor.h.


The documentation for this class was generated from the following files: