messagingappbase/smartmessaging/bva/inc/BvaApp.h
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 /*
       
     2 * Copyright (c) 2002 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 *     BVA application class.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef _BVAAPP_H_
       
    22 #define _BVAAPP_H_
       
    23 
       
    24 // INCLUDES
       
    25 #include <aknapp.h>
       
    26 
       
    27 // CLASS DECLARATION
       
    28 
       
    29 /**
       
    30  * CBvaApp application class.
       
    31  * Provides factory to create concrete document object.
       
    32  */
       
    33 NONSHARABLE_CLASS( CBvaApp ) : public CAknApplication
       
    34     {
       
    35     public: // from CEikApplication
       
    36         /**
       
    37          * This overrides the default implementation, 
       
    38 		 *	that changes document name to be Application name. 
       
    39          */
       
    40         void GetDefaultDocumentFileName(TFileName& aDocumentName) const;
       
    41 
       
    42     private: // from CApaApplication
       
    43 
       
    44         /**
       
    45          * From CApaApplication, creates CBvaDocument document object.
       
    46          * @return A pointer to the created document object.
       
    47          */
       
    48         CApaDocument* CreateDocumentL();
       
    49 
       
    50         /**
       
    51          * From CApaApplication, returns application's UID (KUidBVA).
       
    52          * @return The value of KUidBVA.
       
    53          */
       
    54         TUid AppDllUid() const;
       
    55     };
       
    56 
       
    57 #endif //_BVAAPP_H_
       
    58 
       
    59 // End of File