#include <bassnd.h>
class TBaSystemSoundType |
Public Attributes | |
---|---|
TBaSystemSoundUid | iMajor |
TUid | iMinor |
Public Member Functions | |
---|---|
TBaSystemSoundType() | |
TBaSystemSoundType(TBaSystemSoundUid, TUid) | |
TBool | IsNull() |
IMPORT_C TBool | operator==(const TBaSystemSoundType &) |
Provides a logical sound wrapper. A sound is specified logically using two UIDs. The first UID specifies the sound's category which can be a file, tone or sequence; the second, which is optional, specifies an instance of that category. The pair of UIDs is encapsulated in a TBaSystemSoundType object.
Once a TBaSystemSoundType object is constructed, the sound player class CoeSoundPlayer is used to play the sound.
IMPORT_C | TBaSystemSoundType | ( | ) |
Constructs a TBaSystemSoundType object with a null category and instance.
IMPORT_C | TBaSystemSoundType | ( | TBaSystemSoundUid | aMajor, |
TUid | aMinor = KNullUid | |||
) |
Constructs a TBaSystemSoundType object with the specified category and, optionally, instance.
Parameter | Description |
---|---|
aMajor | The category, this can be a file, tone or sequence. |
aMinor | The instance of the category. This is optional. |
TBool | IsNull | ( | ) | const [inline] |
Tests whether the sound's category and instance are null.
Returns: ETrue if the sound's category and instance are null, EFalse otherwise.
IMPORT_C TBool | operator== | ( | const TBaSystemSoundType & | aType | ) | const |
Tests whether the sound's category and instance are the same as that specified.
Parameter | Description |
---|---|
aType | The category and instance to test. |
Returns: ETrue if the sound's category and instance is the same as aType, EFalse otherwise.