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