IScreenSaver Class Reference

Screen saver interface. More...

#include <IScreenSaver.h>

Inherits IInterface.

Inherited by CMSWindowsScreenSaver, COSXScreenSaver, and CXWindowsScreenSaver.

Collaboration diagram for IScreenSaver:
Collaboration graph
[legend]

List of all members.

Public Member Functions

manipulators



virtual void enable ()=0
 Enable screen saver.
virtual void disable ()=0
 Disable screen saver.
virtual void activate ()=0
 Activate screen saver.
virtual void deactivate ()=0
 Deactivate screen saver.
accessors



virtual bool isActive () const =0
 Test if screen saver on.

Detailed Description

Screen saver interface.

This interface defines the methods common to all screen savers.

Definition at line 25 of file IScreenSaver.h.


Member Function Documentation

virtual void IScreenSaver::activate (  )  [pure virtual]

Activate screen saver.

Activate (i.e. show) the screen saver.

Implemented in CMSWindowsScreenSaver, COSXScreenSaver, and CXWindowsScreenSaver.

virtual void IScreenSaver::deactivate (  )  [pure virtual]

Deactivate screen saver.

Deactivate (i.e. hide) the screen saver, reseting the screen saver timer.

Implemented in CMSWindowsScreenSaver, COSXScreenSaver, and CXWindowsScreenSaver.

virtual void IScreenSaver::disable (  )  [pure virtual]

Disable screen saver.

Disable the screen saver, saving the old settings for the next call to enable().

Implemented in CMSWindowsScreenSaver, COSXScreenSaver, and CXWindowsScreenSaver.

virtual void IScreenSaver::enable (  )  [pure virtual]

Enable screen saver.

Enable the screen saver, restoring the screen saver settings to what they were when disable() was previously called. If disable() wasn't previously called then it should keep the current settings or use reasonable defaults.

Implemented in CMSWindowsScreenSaver, COSXScreenSaver, and CXWindowsScreenSaver.

virtual bool IScreenSaver::isActive (  )  const [pure virtual]

Test if screen saver on.

Returns true iff the screen saver is currently active (showing).

Implemented in CMSWindowsScreenSaver, COSXScreenSaver, and CXWindowsScreenSaver.


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

Generated on 12 Nov 2010 for synergy-plus by  doxygen 1.6.1