connectivitymodules/SeCon/servers/syncserver/inc/sconsyncsession.h
branchRCL_3
changeset 19 0aa8cc770c8a
parent 18 453dfc402455
child 20 4a793f564d72
equal deleted inserted replaced
18:453dfc402455 19:0aa8cc770c8a
     1 /*
       
     2 * Copyright (c) 2009 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:  CSconSyncSession header
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __SCONSYNCSESSION_H__
       
    20 #define __SCONSYNCSESSION_H__
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 
       
    25 class CSconSyncServer;
       
    26 class CSconAsyncHandler;
       
    27 
       
    28 class CSconSyncSession : public CSession2
       
    29     {
       
    30 public:
       
    31     static CSconSyncSession* NewL();
       
    32     
       
    33     void CreateL();
       
    34     
       
    35 private:
       
    36     CSconSyncSession();
       
    37     ~CSconSyncSession();
       
    38     void ConstructL();
       
    39     
       
    40     CSconSyncServer& Server();
       
    41     void ServiceL(const RMessage2& aMessage);
       
    42     
       
    43 private:
       
    44     CSconAsyncHandler* iAsyncHandler;
       
    45     };
       
    46 
       
    47 #endif // __SCONSYNCSESSION_H__