mobilemessaging/mmsui/viewerinc/MmsViewerApp.h
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 /*
       
     2 * Copyright (c) 2002-2006 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:  
       
    15 *     MMS Viewer Application class definition.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef MMSVIEWERAPP_H
       
    22 #define MMSVIEWERAPP_H
       
    23 
       
    24 // INCLUDES
       
    25 #include <aknapp.h>                 // CAknApplication
       
    26 
       
    27 // CONSTANTS
       
    28 const TUid KUidMmsViewer = { 0x100058DF };
       
    29 // Note that the UID values are recorded in three places:
       
    30 // - CPP source file (as pragma data_seg)
       
    31 // - header file (below, as a constant for AppDllUid() method)
       
    32 // - MMP file (i.e. also in the makefile)
       
    33 
       
    34 // FORWARD DECLARATION
       
    35 
       
    36 class CApaAppServer;
       
    37 
       
    38 // CLASS DECLARATION
       
    39 
       
    40 /**
       
    41 *  CMmsViewerApplication class
       
    42 *  Needed by the EIKON framework
       
    43 */
       
    44 class CMmsViewerApplication : public CAknApplication
       
    45     {
       
    46 
       
    47     private:
       
    48         /**
       
    49         * From CApaApplication.
       
    50         */
       
    51         CApaDocument* CreateDocumentL();
       
    52 
       
    53 		/**
       
    54 		* Called by CEikonEnv when new server application is created 
       
    55 		*/
       
    56 		void NewAppServerL( CApaAppServer*& aAppServer );
       
    57 
       
    58         /**
       
    59         * From CApaApplication.
       
    60         */
       
    61         TUid AppDllUid() const;
       
    62     };
       
    63 
       
    64 #endif      //  MMSVIEWERAPP_H
       
    65   
       
    66 // End of File