uiacceltk/hitchcock/ServerInterface/inc/alfapplication.h
changeset 0 15bf7259bb7c
equal deleted inserted replaced
-1:000000000000 0:15bf7259bb7c
       
     1 /*
       
     2 * Copyright (c) 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:   Application definition
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef C_ALFAPPLICATION_H
       
    21 #define C_ALFAPPLICATION_H
       
    22 
       
    23 #include <aknapp.h>
       
    24 
       
    25 /**
       
    26  *  Application class for Alfred app server.
       
    27  *
       
    28  *  @since S60 v3.2
       
    29  */
       
    30 class CAlfApplication : public CAknApplication
       
    31     {
       
    32 public:
       
    33 
       
    34 // from base class CAknApplication
       
    35 
       
    36     /**
       
    37      * From CAknApplication.
       
    38      * Called by the framework when new server is launched.
       
    39      *
       
    40      * @param aAppServer Pointer to the server class which this 
       
    41      *                   implementation allocates and returns the
       
    42      *                   ownership.
       
    43      */
       
    44     void NewAppServerL(CApaAppServer*& aAppServer);
       
    45     
       
    46     /**
       
    47      * From CAknApplication.
       
    48      * Called by the system when a document is created.
       
    49      *
       
    50      * @return New document instance. Ownership transferred.
       
    51      */
       
    52     CApaDocument* CreateDocumentL(); 
       
    53     
       
    54     /**
       
    55      * From CAknApplication.
       
    56      * Returns the component UID.
       
    57      *
       
    58      * @return UID3 of the app server.
       
    59      */
       
    60     TUid AppDllUid() const;
       
    61 
       
    62     };
       
    63 
       
    64 #endif // C_ALFAPPLICATION_H