|         |      1 /* | 
|         |      2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). | 
|         |      3 * All rights reserved. | 
|         |      4 * This component and the accompanying materials are made available | 
|         |      5 * under the terms of "Eclipse Public License v1.0"" | 
|         |      6 * which accompanies this distribution, and is available | 
|         |      7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". | 
|         |      8 * | 
|         |      9 * Initial Contributors: | 
|         |     10 * Nokia Corporation - initial contribution. | 
|         |     11 * | 
|         |     12 * Contributors: | 
|         |     13 * | 
|         |     14 * Description:  Application entry point. | 
|         |     15 * | 
|         |     16 */ | 
|         |     17  | 
|         |     18 #ifndef __DEVENCUIAPPLICATION_H__ | 
|         |     19 #define __DEVENCUIAPPLICATION_H__ | 
|         |     20  | 
|         |     21 // INCLUDES | 
|         |     22 #include <aknapp.h> | 
|         |     23  | 
|         |     24 // CLASS DECLARATION | 
|         |     25  | 
|         |     26 /** | 
|         |     27 * CDevEncUiApplication application class. | 
|         |     28 * Provides factory to create concrete document object. | 
|         |     29 * An instance of CDevEncUiApplication is the application part of the | 
|         |     30 * AVKON application framework for the DEVENCUI example application. | 
|         |     31 */ | 
|         |     32 class CDevEncUiApplication : public CAknApplication | 
|         |     33     { | 
|         |     34     public: // Functions from base classes | 
|         |     35  | 
|         |     36         /** | 
|         |     37         * From CApaApplication, AppDllUid. | 
|         |     38         * @return Application's UID (KUidDEVENCUIApp). | 
|         |     39         */ | 
|         |     40         TUid AppDllUid() const; | 
|         |     41  | 
|         |     42     protected: // Functions from base classes | 
|         |     43  | 
|         |     44         /** | 
|         |     45         * From CApaApplication, CreateDocumentL. | 
|         |     46         * Creates CDevEncUiDocument document object. The returned | 
|         |     47         * pointer in not owned by the CDevEncUiApplication object. | 
|         |     48         * @return A pointer to the created document object. | 
|         |     49         */ | 
|         |     50         CApaDocument* CreateDocumentL(); | 
|         |     51     }; | 
|         |     52  | 
|         |     53 #endif // __DEVENCUIAPPLICATION_H__ | 
|         |     54  | 
|         |     55 // End of File |