imageeditor/imageeditorApp/inc/ImageEditorApp.h
changeset 1 edfc90759b9f
equal deleted inserted replaced
0:57d4cdd99204 1:edfc90759b9f
       
     1 /*
       
     2 * Copyright (c) 2010 Ixonos Plc.
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the "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 * Ixonos Plc
       
    14 *
       
    15 * Description:  
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef IMAGEEDITORAPP_H
       
    21 #define IMAGEEDITORAPP_H
       
    22 
       
    23 
       
    24 // INCLUDES
       
    25 #include <aknapp.h>
       
    26 
       
    27 // debug log writer
       
    28 #include "imageeditordebugutils.h"
       
    29 
       
    30 // CONSTANTS
       
    31 
       
    32 // FORWARD DECLARATIONS
       
    33 
       
    34 
       
    35 /*	CLASS: 	CImageEditorApp
       
    36 *
       
    37 *	CImageEditorApp application class. Provides factory to create concrete
       
    38 *	document object.   
       
    39 *
       
    40 */
       
    41 class CImageEditorApp : public CAknApplication
       
    42 {
       
    43     
       
    44 public:
       
    45 
       
    46 /** @name Methods:*/
       
    47 //@{
       
    48 
       
    49 	/*	OpenIniFileLC
       
    50 	*
       
    51 	*	Opens .ini file associated with the application. Constructs 
       
    52 	*	dictionary store object, puts the pointer to it to CleanupStack
       
    53 	*	and returns it.
       
    54 	*
       
    55 	*	The .ini file is created, if it does not exist.
       
    56 	*
       
    57 	*	Implementation of this method is provided by UI framework.
       
    58 	*
       
    59 	*   @param aFs - file server session
       
    60 	*   @return pointer to the created dictionary store
       
    61 	*	@see CApaApplication
       
    62 	*/
       
    63     virtual CDictionaryStore * OpenIniFileLC (RFs & aFs) const;
       
    64 
       
    65 //@}
       
    66 
       
    67 protected:
       
    68 
       
    69 /** @name Methods:*/
       
    70 //@{
       
    71 //@}
       
    72 
       
    73 /** @name Members:*/
       
    74 //@{
       
    75 //@}
       
    76 
       
    77 private:
       
    78 
       
    79 /** @name Methods:*/
       
    80 //@{
       
    81 
       
    82 	/*	CreateDocumentL
       
    83 	*
       
    84 	*	Creates a document object. Called by the application process when
       
    85 	*	a new document is required. Application process adds the document
       
    86 	*	its list of documents.
       
    87 	*
       
    88 	*	Implementation of this method is provided by UI framework.
       
    89 	*
       
    90 	*   @param -
       
    91 	*   @return pointer to the created CApaDocument
       
    92 	*	@see CApaApplication
       
    93 	*/
       
    94     virtual CApaDocument * CreateDocumentL();
       
    95         
       
    96 	/*	AppDllUid
       
    97 	*
       
    98 	*	Gets application specific UID. The UID is used to differentiate 
       
    99 	*	between UI applications. 
       
   100 	*
       
   101 	*	Implementation of this method must be provided by UI application.
       
   102 	*
       
   103 	*   @param -
       
   104 	*   @return TUid - application's UID
       
   105 	*	@see CApaApplication
       
   106 	*/
       
   107     virtual TUid AppDllUid() const;
       
   108 
       
   109 //@}
       
   110 
       
   111 /** @name Members:*/
       
   112 //@{
       
   113 //@}
       
   114 
       
   115 };
       
   116 
       
   117 #endif
       
   118 
       
   119