sysstatemgmt/systemstatemgr/test/tsus/inc/tsus_ssmsuscli.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2008-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 /**
       
    17  @file
       
    18  @test
       
    19  @internalComponent - Internal Symbian test code 
       
    20 */
       
    21 
       
    22 #ifndef __TSUS_SSMSUSCLI_H__
       
    23 #define __TSUS_SSMSUSCLI_H__
       
    24 
       
    25 #include <ssm/ssmsuscli.h>
       
    26 
       
    27 /**
       
    28  Extends the production RSsmSusCli with another version of Connect which 
       
    29  connects to our test-server rather than the production one started during
       
    30  device boot.
       
    31  */
       
    32 class RSsmSusCliTest: public RSsmSusCli
       
    33 	{
       
    34 public:
       
    35 	TInt Connect(const TDesC& aServerName, TBool aHeapCheck = ETrue);
       
    36 	TInt Connect(const TDesC& aServerName, TVersion aVersion, TInt aAsyncMessageSlots, TBool aHeapCheck = ETrue);
       
    37 	TInt SendAnyrequest();
       
    38 	TInt Shutdown();
       
    39 	void Close(TBool aCheckHeap = ETrue);
       
    40 	TInt HeapMark();
       
    41 	TInt HeapMarkEnd();
       
    42 	TInt CompressPluginArray();
       
    43 	};
       
    44 
       
    45 #endif	// __TSUS_SSMSUSCLI_H__