|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : datamobilityapplication.h 00004 * Part of : datamobility 00005 * Description : Declares main application class. 00006 * 00007 * Copyright (c) 2007 Nokia Corporation. 00008 * This material, including documentation and any related 00009 * computer programs, is protected by copyright controlled by 00010 * Nokia Corporation. 00011 * ============================================================================== 00012 */ 00013 00014 #ifndef DATAMOBILITYAPPLICATION_H 00015 #define DATAMOBILITYAPPLICATION_H 00016 00017 // INCLUDES 00018 #include <aknapp.h> 00019 00020 // CLASS DECLARATION 00021 00022 /** 00023 * CDataMobilityApplication application class. 00024 * Provides factory to create concrete document object. 00025 * An instance of CDataMobilityApplication is the application part of the 00026 * AVKON application framework for the datamobility example application. 00027 */ 00028 class CDataMobilityApplication : public CAknApplication 00029 { 00030 public: // Functions from base classes 00031 00032 /** 00033 * From CApaApplication, AppDllUid. 00034 * @return Application's UID (KUidDataMobilityApp). 00035 */ 00036 TUid AppDllUid() const; 00037 00038 protected: // Functions from base classes 00039 00040 /** 00041 * From CApaApplication, CreateDocumentL. 00042 * Creates CDataMobilityDocument document object. The returned 00043 * pointer in not owned by the CDataMobilityApplication object. 00044 * @return A pointer to the created document object. 00045 */ 00046 CApaDocument* CreateDocumentL(); 00047 }; 00048 00049 #endif // DATAMOBILITYAPPLICATION_H 00050 00051 // End of File
|
© Nokia 2009 |