sysstatemgmt/systemstarter/inc/amastartcli.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 /**
       
    17  @file
       
    18 */
       
    19 
       
    20 #ifndef __AMASTARTCLI_H__
       
    21 #define __AMASTARTCLI_H__
       
    22 
       
    23 #include <e32std.h>
       
    24 
       
    25 const TInt KAmaStartSrvMsgSlots = 1;
       
    26 const TInt KAmaStartCliVersionMajor = 0; // 0-127
       
    27 const TInt KAmaStartCliVersionMinor = 0; // 0-99
       
    28 const TInt KAmaStartCliVersionBuild = 0; // 0-32767
       
    29 
       
    30 
       
    31 /**
       
    32  * @internalTechnology
       
    33  * @released
       
    34  */
       
    35 NONSHARABLE_CLASS( RAmaStartSession ) : public RSessionBase
       
    36 	{
       
    37 public: 
       
    38 	IMPORT_C RAmaStartSession();
       
    39 	IMPORT_C TInt Connect();
       
    40 	IMPORT_C void Close();
       
    41 	IMPORT_C void StartDsc( const TUid& aDscId, TRequestStatus& aStatus );
       
    42 	IMPORT_C void StartDscCancel();
       
    43 	
       
    44 private:
       
    45 	TBool CheckDscExistsL(const TUid& aDscId);
       
    46 
       
    47 private:
       
    48 	TVersion iVersion;
       
    49 	TRequestStatus* iClientStatus; // Not owning
       
    50 	TInt iSpare[ 4 ];
       
    51 	};
       
    52 	
       
    53 
       
    54 #endif // __AMASTARTCLI_H__