sysstatemgmt/systemstatemgr/cle/inc/clecli.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __CLECLI_H__
       
    17 #define __CLECLI_H__
       
    18 
       
    19 #include <e32std.h>
       
    20 
       
    21 #include "cleconst.h"
       
    22 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
       
    23 #include "ssmdebug.h"
       
    24 #endif //SYMBIAN_ENABLE_SPLIT_HEADERS
       
    25 #include <ssm/ssmcmd.hrh>
       
    26 
       
    27 const TInt KCleSrvMsgSlots = 1; // This value was fixed during design. Beware adjustments.
       
    28 const TInt KCleCliVersionMajor = 0; // 0-127
       
    29 const TInt KCleCliVersionMinor = 0; // 0-99
       
    30 const TInt KCleCliVersionBuild = 0; // 0-32767
       
    31 
       
    32 class CSsmCommandList;
       
    33 /**
       
    34  The CLE server client session.
       
    35  
       
    36  @internalComponent
       
    37  @released
       
    38  */
       
    39 NONSHARABLE_CLASS( RCleSession ) : public RSessionBase
       
    40 	{
       
    41 
       
    42 public: 
       
    43 	RCleSession();
       
    44 	void ConnectL();
       
    45 	void ConnectL(const TDesC& aServerName);
       
    46 	void Close();
       
    47 	void ExecuteCommandList( const CSsmCommandList& aCmdList, TRequestStatus& aStatus ,TCmdErrorSeverity& aSeverity);
       
    48 	void ExecuteCommandListCancel();
       
    49 
       
    50 private:
       
    51 	TVersion iVersion;
       
    52 	TInt iSpare[ 4 ];
       
    53 	};
       
    54 	
       
    55 
       
    56 #endif // __CLECLI_H__