textinput/peninputarc/inc/pensrvcliinc/peninputserverapp.h
changeset 0 eb1f2e154e89
equal deleted inserted replaced
-1:000000000000 0:eb1f2e154e89
       
     1 /*
       
     2 * Copyright (c) 2006-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:  Defination for peninput server application
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef PENINPUTSERVERAPP_H
       
    20 #define PENINPUTSERVERAPP_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <aknapp.h>
       
    24 // CONSTANTS
       
    25 // UID of the application
       
    26 const TUid KUidPeninputserver = { 0x10281855 };
       
    27 class CPeninputServer;
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31 * CPeninputServerApp application class.
       
    32 * Provides factory to create concrete document object.
       
    33 * 
       
    34 */
       
    35 class CPeninputServerApp : public CAknApplication
       
    36     {    
       
    37 public: // Functions from base classes
       
    38     /**
       
    39      * Destructor
       
    40      *
       
    41      * @since S60 v4.0
       
    42      */        
       
    43      ~CPeninputServerApp();
       
    44      
       
    45 private:
       
    46 
       
    47     //from CApaApplication
       
    48 
       
    49     /** 
       
    50      * From CApaApplication
       
    51      * creates CPeninputServerDocument document object.
       
    52      *
       
    53      * @since S60 v4.0
       
    54      * @return A pointer to the created document object.
       
    55      */
       
    56     CApaDocument* CreateDocumentL();
       
    57        
       
    58     /** 
       
    59      * From CApaApplication
       
    60      * returns application's UID (KUidPeninputserver).
       
    61      *
       
    62      * @since S60 v4.0
       
    63      * @return The value of KUidPeninputserver.
       
    64      */        
       
    65     TUid AppDllUid() const;
       
    66     };
       
    67 
       
    68 #endif //PENINPUTSERVERAPP_H
       
    69 // End of File
       
    70