|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
00001 /* 00002 * ============================================================================ 00003 * Name : BrCtlSampleApp.h 00004 * Part of : BrCtlSampleApp 00005 * Interface : 00006 * Description : Declares main application class. 00007 * Version : 00008 * 00009 * Copyright (c) 2005-2006 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 BRCTLSAMPLEAPPAPP_H 00017 #define BRCTLSAMPLEAPPAPP_H 00018 00019 // INCLUDES 00020 #include <aknapp.h> 00021 00022 // CONSTANTS 00023 // UID of the application 00024 const TUid KUidBrCtlSampleApp = { 0xA0000181 }; 00025 00026 // CLASS DECLARATION 00027 00028 /** 00029 * CBrCtlSampleApp application class. 00030 * Provides the factory to create a concrete document object. 00031 * 00032 */ 00033 class CBrCtlSampleApp : public CAknApplication 00034 { 00035 00036 public: // Functions from base classes 00037 /** 00038 * From CApaApplication, overridden to enable INI file support. 00039 * @return CDictionaryStore*, A pointer to the dictionary store 00040 */ 00041 CDictionaryStore* OpenIniFileLC(RFs& aFs) const; 00042 private: 00043 00044 /** 00045 * From CApaApplication, creates CBrCtlSampleAppDocument document object. 00046 * @return CApaDocument*, A pointer to the created document object. 00047 */ 00048 CApaDocument* CreateDocumentL(); 00049 00050 /** 00051 * From CApaApplication, returns application's UID (KUidBrCtlSampleApp). 00052 * @return TUid, The value of KUidBrCtlSampleApp. 00053 */ 00054 TUid AppDllUid() const; 00055 }; 00056 00057 #endif 00058 00059 // End of File 00060
|
© Nokia 2006 |