diff -r 75a71fdb4c92 -r 7d11f9a6646f applicationmanagement/options/inc/aminstalloptions.h --- a/applicationmanagement/options/inc/aminstalloptions.h Tue Feb 02 00:03:17 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,58 +0,0 @@ -/* -* Copyright (c) 2000 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: The interface -* -*/ - - -#ifndef __AMINSTALLOPTIONSAPI_H__ -#define __AMINSTALLOPTIONSAPI_H__ - -#include -namespace NApplicationManagement - { - const int KMaxConRef = 256; - struct TAMInstallOptions - { - TBuf8 iConRef; - TInt iIAP; - SwiUI::TInstallOptions iOptions; - TAMInstallOptions() : iConRef( KNullDesC8()), - iIAP(-1), iOptions() - { - } - }; - - typedef TPckgBuf TAMInstallOptionsPckgBuf; - typedef TPckg TAMInstallOptionsPckg; - - } - - -class InstallOptionsParser - { -public: - IMPORT_C static void ParseOptionsL( const TDesC8 &aBuffer, SwiUI::TInstallOptions &aResult); - IMPORT_C static void SerializeOptionsL( const SwiUI::TInstallOptions &aOptions, CBufBase &aResult ); - IMPORT_C static void ParseOptionsL( const TDesC8 &aBuffer, SwiUI::TUninstallOptions &aResult); - IMPORT_C static void SerializeOptionsL( const SwiUI::TUninstallOptions &aOptions, CBufBase &aResult ); - - IMPORT_C static void ParseOptionsL( const TDesC8 &aBuffer, NApplicationManagement::TAMInstallOptions &aResult); - IMPORT_C static void SerializeOptionsL( const NApplicationManagement::TAMInstallOptions &aOptions, CBufBase &aResult ); - }; - - -#endif - -// End of File