phonebookui/Phonebook/App/inc/CPbkApplication.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     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:  Phonebook Application class. 
       
    15 *		This class is created by the Symbian OS framework by a call to NewApplication()
       
    16 *		function when the application is started. The main purpose of the 
       
    17 *		application class is to create the application-specific document object 
       
    18 *		(CPbkDocument in this case) via a call to virtual CreateDocumentL().
       
    19 *
       
    20 */
       
    21 
       
    22 
       
    23 #ifndef __CPbkApplication_H__
       
    24 #define __CPbkApplication_H__
       
    25 
       
    26 //  INCLUDES
       
    27 #include <aknapp.h> // CAknApplication
       
    28 
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33  * Phonebook Application class. 
       
    34  * This class is created by the Symbian OS framework by a call to NewApplication()
       
    35  * function when the application is started. The main purpose of the 
       
    36  * application class is to create the application-specific document object 
       
    37  * (CPbkDocument in this case) via a call to virtual CreateDocumentL().
       
    38  *
       
    39  * @see NewApplication
       
    40  */
       
    41 class CPbkApplication : 
       
    42         public CAknApplication 
       
    43     {
       
    44     public: // Interface
       
    45         /**
       
    46          * Default constructor.
       
    47          */
       
    48         inline CPbkApplication();
       
    49 
       
    50         /**
       
    51          * Returns application's shared file server connection.
       
    52          */
       
    53         RFs& FsSession();
       
    54 
       
    55         /**
       
    56          * Return applications control environment.
       
    57          */
       
    58         CCoeEnv& CoeEnv();
       
    59 
       
    60     private: // from CApaApplication
       
    61         ~CPbkApplication();
       
    62 	    CApaDocument* CreateDocumentL();
       
    63         TUid AppDllUid() const;
       
    64     };
       
    65 
       
    66 
       
    67 // INLINE FUNCTIONS
       
    68 
       
    69 inline CPbkApplication::CPbkApplication()
       
    70     {
       
    71     }
       
    72 
       
    73 #endif // __CPbkApplication_H__
       
    74             
       
    75 // End of File