aknSoundInfo.h

Go to the documentation of this file.
00001 /*
00002 * ============================================================================
00003 *  Name        : AknSoundInfo.h
00004 *  Part of     : UI Framework Core / AVKON
00005 *  Description : Provides API for sound info delivery.
00006 *  Version     : %version: %
00007 *
00008 *  Copyright © 2002-2008 Nokia.  All rights reserved.
00009 *  This material, including documentation and any related computer
00010 *  programs, is protected by copyright controlled by Nokia.  All
00011 *  rights are reserved.  Copying, including reproducing, storing,
00012 *  adapting or translating, any or all of this material requires the
00013 *  prior written consent of Nokia.  This material also contains
00014 *  confidential information which may not be disclosed to others
00015 *  without the prior written consent of Nokia.
00016 * ============================================================================
00017 */
00018 #ifndef AKNSOUNDINFO_H
00019 #define AKNSOUNDINFO_H
00020 
00021 // INCLUDES
00022 #include <e32base.h>
00023 
00024 // DATA TYPES
00025 enum TSoundType
00026     {
00027     ESoundTone = 1,
00028     ESoundFile = 2,
00029     ESoundSequence = 3
00030     };
00031 
00032 // FORWARD DECLARATIONS
00033 class RWriteStream;
00034 
00035 // CLASS DECLARATION
00043 NONSHARABLE_CLASS(CAknSoundInfo) : public CBase
00044     {
00045 public:
00051     IMPORT_C static CAknSoundInfo* NewL();
00052 
00056     IMPORT_C ~CAknSoundInfo();
00057 
00058 public: // New functions
00062     IMPORT_C void InternalizeL(RReadStream& aStream);
00063 
00067     IMPORT_C void ExternalizeL(RWriteStream& aStream) const;
00068 
00069 public: // Data
00071     TInt16 iPriority;
00072 
00074     TInt16 iFrequency;
00075 
00077     TInt iPreference;
00078 
00080     HBufC* iFile;
00081 
00083     TInt iDuration;
00084 
00086     HBufC8* iSequence;
00087 
00089     TUint8 iVolume;
00090 
00092     TSoundType iType;
00093 
00094 private:
00098     CAknSoundInfo();
00099     };
00100 
00101 #endif // AKNSOUNDINFO_H
00102 
00103 // End of file

Copyright © Nokia Corporation 2001-2007
Back to top