sysstatemgmt/systemstarter/inc/amastartcli.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 31 Mar 2010 23:31:40 +0300
branchRCL_3
changeset 7 1fc153c72b60
parent 0 4e1aa6a622a0
permissions -rw-r--r--
Revision: 201011 Kit: 201013

// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//

/**
 @file
*/

#ifndef __AMASTARTCLI_H__
#define __AMASTARTCLI_H__

#include <e32std.h>

const TInt KAmaStartSrvMsgSlots = 1;
const TInt KAmaStartCliVersionMajor = 0; // 0-127
const TInt KAmaStartCliVersionMinor = 0; // 0-99
const TInt KAmaStartCliVersionBuild = 0; // 0-32767


/**
 * @internalTechnology
 * @released
 */
NONSHARABLE_CLASS( RAmaStartSession ) : public RSessionBase
	{
public: 
	IMPORT_C RAmaStartSession();
	IMPORT_C TInt Connect();
	IMPORT_C void Close();
	IMPORT_C void StartDsc( const TUid& aDscId, TRequestStatus& aStatus );
	IMPORT_C void StartDscCancel();
	
private:
	TBool CheckDscExistsL(const TUid& aDscId);

private:
	TVersion iVersion;
	TRequestStatus* iClientStatus; // Not owning
	TInt iSpare[ 4 ];
	};
	

#endif // __AMASTARTCLI_H__