camerauis/cameraapp/generic/inc/CamApp.h
branchRCL_3
changeset 24 bac7acad7cb3
parent 0 1ddebce53859
equal deleted inserted replaced
23:61bc0f252b2b 24:bac7acad7cb3
       
     1 /*
       
     2 * Copyright (c) 2007 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:  Main application class*
       
    15 */
       
    16 
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CAMAPP_H__
       
    21 #define CAMAPP_H__
       
    22 
       
    23 //  INCLUDES
       
    24 #include <aknapp.h>
       
    25 
       
    26 // CONSTANTS
       
    27 
       
    28 // MACROS
       
    29 
       
    30 // DATA TYPES
       
    31 
       
    32 // FUNCTION PROTOTYPES
       
    33 
       
    34 // FORWARD DECLARATIONS
       
    35 
       
    36 // CLASS DECLARATION
       
    37 
       
    38 /**
       
    39 * Application class.
       
    40 * Provides factory to create concrete document object.
       
    41 *
       
    42 *  @since 2.8
       
    43 */
       
    44 
       
    45 class CCamApp : public CAknApplication
       
    46     {
       
    47     public: // Functions from base classes
       
    48 
       
    49         /**
       
    50         * From CAknApplication Return the application UID value.
       
    51         * @since 2.8
       
    52         * @return UID of the application
       
    53         */
       
    54         TUid AppDllUid() const;
       
    55         
       
    56     protected:  // Functions from base classes
       
    57         
       
    58         /**
       
    59         * From CAknApplication Create an instance of CApaDocument
       
    60 		* and return a pointer to it.
       
    61         * @since 2.8
       
    62         * @return Newly created CCamDocument instance
       
    63         */
       
    64         CApaDocument* CreateDocumentL();
       
    65         
       
    66         /**
       
    67         * From CEikApplication
       
    68 		* Creates first-stage constructed file server application
       
    69 		* @since 3.0
       
    70 		* @param aAppServer pointer to AppServer object
       
    71 		*/
       
    72 		void NewAppServerL( CApaAppServer*& aAppServer );		
       
    73 
       
    74     };
       
    75 
       
    76 #endif      // __CAMAPP_H__   
       
    77             
       
    78 // End of File