iaupdate/IAD/ui/inc/iaupdateserver.h
branchRCL_3
changeset 25 7333d7932ef7
parent 24 5cc91383ab1e
child 26 8b7f4e561641
equal deleted inserted replaced
24:5cc91383ab1e 25:7333d7932ef7
     1 /*
       
     2 * Copyright (c) 2007-2008 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:   This file contains the header file of the CIAUpdateServer class 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef IAUPDATESERVER_H
       
    21 #define IAUPDATESERVER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <AknServerApp.h>
       
    25 
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class MRequestCallback;
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33 * This class represents the IAUpdate server.
       
    34 *
       
    35 * @since 3.2
       
    36 */
       
    37 class CIAUpdateServer : public CAknAppServer
       
    38     {
       
    39     public:  // Constructors and destructor
       
    40   
       
    41         /**
       
    42         * Constructor.
       
    43         * @return Instance of the created server object.
       
    44         */  
       
    45         static CIAUpdateServer* NewL();
       
    46 
       
    47         /**
       
    48         * Destructor.
       
    49         */
       
    50         virtual ~CIAUpdateServer();      
       
    51         
       
    52     
       
    53     public: // Functions from base classes
       
    54 
       
    55         /**
       
    56         * From CApaAppServiceBase, Service creation function.
       
    57         * @since 3.2
       
    58         */
       
    59         CApaAppServiceBase* CreateServiceL( TUid aServiceType ) const;
       
    60                
       
    61         
       
    62         void HandleAllClientsClosed();
       
    63         
       
    64         
       
    65     private:
       
    66 
       
    67         /**
       
    68         * Constructor.
       
    69         */
       
    70         CIAUpdateServer();
       
    71 
       
    72         /**
       
    73         * 2nd phase constructor.
       
    74         * @param aServerName - Name of the server
       
    75         */
       
    76         void ConstructL();
       
    77         
       
    78 
       
    79     };
       
    80 
       
    81 #endif      // IAUPDATESERVER_H
       
    82             
       
    83 // End of File