CGlobalAudioSettingsImpl Class Reference

class CGlobalAudioSettingsImpl : public CBase

Defines functions that client uses to set phone profile settings.

GlobalAudioSettings.lib
Since
Series 60 3.2

Inherits from

Public Member Functions
~CGlobalAudioSettingsImpl ()
TInt GetAudioClientsList ( CGlobalAudioSettings::TAudioClientListType , RArray < TProcessId > &)
IMPORT_C TBool IsMessageTonesEnabled ()
IMPORT_C TBool IsPublicSilenceEnabled ()
IMPORT_C TBool IsSilentProfileEnabled ()
IMPORT_C TBool IsVibraEnabled ()
IMPORT_C TBool IsWarningTonesEnabled ()
IMPORT_C CGlobalAudioSettingsImpl * NewL ( CGlobalAudioSettings &, MAudioSettingsObserver &)
TInt RegisterAudioClientsListObserver ( MAudioClientsListObserver &)
TInt UnregisterAudioClientsListObserver ( MAudioClientsListObserver &)
Private Member Functions
CGlobalAudioSettingsImpl ( CGlobalAudioSettings &, MAudioSettingsObserver &)
void ConstructL ()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
RPointerArray < MAudioClientsListObserver > iAudioClientsListObserverArray
MAudioSettingsObserver & iAudioSettingsObserver
CAudioClientsListManagerAO * iCAudioClientsListManagerAO
CGlobalAudioSettings & iGlobalAudioSettings
TGlobalAudioSettings iGlobalAudioSettingsData
CMessagingTonesObserverAO * iMessagingTonesObserverAO
CAudioClientsListManagerAO * iPausedClientsListManagerAO
CSilentProfileObserverAO * iSilentProfileObserverAO
CVibraObserverAO * iVibraObserverAO
CWarningTonesObserverAO * iWarningTonesObserverAO

Constructor & Destructor Documentation

CGlobalAudioSettingsImpl(CGlobalAudioSettings &, MAudioSettingsObserver &)

CGlobalAudioSettingsImpl ( CGlobalAudioSettings & aGlobalAudioSettings,
MAudioSettingsObserver & aAudioSettingsObserver
) [private]

Parameters

CGlobalAudioSettings & aGlobalAudioSettings
MAudioSettingsObserver & aAudioSettingsObserver

~CGlobalAudioSettingsImpl()

~CGlobalAudioSettingsImpl ( )

Destructor.

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]
Second Phase Costructor for GlobalAudioSettingsImpl Instance
Since
3.2

GetAudioClientsList(CGlobalAudioSettings::TAudioClientListType, RArray< TProcessId > &)

TInt GetAudioClientsList ( CGlobalAudioSettings::TAudioClientListType aType,
RArray < TProcessId > & aList
)

Gets audio clients list.

On return of this function, the parameter aList will contain active audio client application process ids.

The parameter aList will be reset in the case

Since
S60 3.2

IsMessageTonesEnabled()

IMPORT_C TBool IsMessageTonesEnabled ( )

Returns message tones status.

Since
Series 60 3.2

IsPublicSilenceEnabled()

IMPORT_C TBool IsPublicSilenceEnabled ( )

Returns PublicSilence is enabled or not status.

Since
Series 60 3.2

IsSilentProfileEnabled()

IMPORT_C TBool IsSilentProfileEnabled ( )

Returns silent profile status.

Since
Series 60 3.2

IsVibraEnabled()

IMPORT_C TBool IsVibraEnabled ( )

Returns vibra is enabled or not in the current profile status.

Since
Series 60 3.2

IsWarningTonesEnabled()

IMPORT_C TBool IsWarningTonesEnabled ( )

Returns warning tones status.

Since
Series 60 3.2

NewL(CGlobalAudioSettings &, MAudioSettingsObserver &)

IMPORT_C CGlobalAudioSettingsImpl * NewL ( CGlobalAudioSettings & aGlobalAudioSettings,
MAudioSettingsObserver & aAudioSettingsObserver
) [static]

function for creating the GlobalAudioSettingsImpl

Parameters

CGlobalAudioSettings & aGlobalAudioSettings
MAudioSettingsObserver & aAudioSettingsObserver

RegisterAudioClientsListObserver(MAudioClientsListObserver &)

TInt RegisterAudioClientsListObserver ( MAudioClientsListObserver & aObserver )

Registers audio clients list observer.

When registered successfully, the observer will start receiveing callback defined in MAudioClientsListObserver when audio clients list changes.

Since
S60 3.2

Parameters

MAudioClientsListObserver & aObserver

UnregisterAudioClientsListObserver(MAudioClientsListObserver &)

TInt UnregisterAudioClientsListObserver ( MAudioClientsListObserver & aObserver )

Unregisters audio clients list observer.

When unregistered, the observer will no longer receive callback when audio clients list changes.

Since
S60 3.2

Parameters

MAudioClientsListObserver & aObserver

Member Data Documentation

RPointerArray< MAudioClientsListObserver > iAudioClientsListObserverArray

RPointerArray < MAudioClientsListObserver > iAudioClientsListObserverArray [private]

MAudioSettingsObserver & iAudioSettingsObserver

MAudioSettingsObserver & iAudioSettingsObserver [private]

CAudioClientsListManagerAO * iCAudioClientsListManagerAO

CAudioClientsListManagerAO * iCAudioClientsListManagerAO [private]

CGlobalAudioSettings & iGlobalAudioSettings

CGlobalAudioSettings & iGlobalAudioSettings [private]

TGlobalAudioSettings iGlobalAudioSettingsData

TGlobalAudioSettings iGlobalAudioSettingsData [private]

CMessagingTonesObserverAO * iMessagingTonesObserverAO

CMessagingTonesObserverAO * iMessagingTonesObserverAO [private]

CAudioClientsListManagerAO * iPausedClientsListManagerAO

CAudioClientsListManagerAO * iPausedClientsListManagerAO [private]

CSilentProfileObserverAO * iSilentProfileObserverAO

CSilentProfileObserverAO * iSilentProfileObserverAO [private]

CVibraObserverAO * iVibraObserverAO

CVibraObserverAO * iVibraObserverAO [private]

CWarningTonesObserverAO * iWarningTonesObserverAO

CWarningTonesObserverAO * iWarningTonesObserverAO [private]