|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : AudioStreamApp.h 00004 * Part of : AudioStream 00005 * Created : April 28, 2006 by Forum Nokia 00006 * Description : Declares the main application class for AudioStream application 00007 * Version : 2.0 00008 * 00009 * Copyright (c) 2006 - 2007 Nokia Corporation. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia Corporation. 00013 * ============================================================================== 00014 */ 00015 00016 #ifndef AUDIOSTREAMAPP_H 00017 #define AUDIOSTREAMAPP_H 00018 00019 // INCLUDES 00020 #include <aknapp.h> 00021 00022 // CONSTANTS 00023 // UID of the application 00024 #ifdef __SERIES60_3X__ 00025 // For S60 3rd Edition 00026 const TUid KUidAudioStream = { 0xE01FF1C3 }; 00027 #else 00028 // For S60 1st/2nd Edition 00029 const TUid KUidAudioStream = { 0x101FF1C3 }; 00030 #endif 00031 00032 // CLASS DECLARATION 00033 00034 /** 00035 * CAudioStreamApp application class. 00036 * Provides factory to create concrete document object. 00037 * 00038 */ 00039 class CAudioStreamApp : public CAknApplication 00040 { 00041 00042 public: // Functions from base classes 00043 private: 00044 00045 /** 00046 * From CApaApplication, creates CAudioStreamDocument document object. 00047 * return A pointer to the created document object. 00048 */ 00049 CApaDocument* CreateDocumentL(); 00050 00051 /** 00052 * From CApaApplication, returns application's UID (KUidAudioStream). 00053 * return The value of KUidAudioStream. 00054 */ 00055 TUid AppDllUid() const; 00056 }; 00057 00058 #endif 00059 00060 // End of File 00061
|
© Nokia 2009 |