diff -r 75a71fdb4c92 -r 7d11f9a6646f applicationmanagement/server/inc/AMPreInstallApp.h --- a/applicationmanagement/server/inc/AMPreInstallApp.h Tue Feb 02 00:03:17 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,86 +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: Implementation of applicationmanagement components - * - */ - -#ifndef AMPREINSTALLAPP_H_ -#define AMPREINSTALLAPP_H_ - -#include -#include -#include -#include "ApplicationManagementCommon.h" -#include "amstorage.h" - - -_LIT(KPreInstallPath, "\\private\\10202dce\\"); - -namespace NApplicationManagement - { - - class TPreInstalledAppParams - { -public: - TUid iPreInstalledAppUid; -#if 1 - TPreInstalledAppName iPreInstalledAppame; - TPreInstalledAppVendorName iPreInstalledAppVendorName; - TPreInstalledVersion iVersion; - TMimeType iMimeType; -#endif - //TPreInstalledVersion bufVersion; -#if 0 - HBufC* iPreInstalledAppame; - HBufC* iPreInstalledAppVendorName; -#endif - }; - - class CAMPreInstallApp : public CBase - { - -public: - ~CAMPreInstallApp(); - static CAMPreInstallApp* NewL(); - static CAMPreInstallApp* NewLC(); - void ListPreInstalledAppL(const TDesC& installDocPath); - void ListPreInstalledAppL(); - TBool RecognizeL(TDesC& aPathAndName, HBufC* aMimeType); - void MakeAllInstallPathsL(); - void GetPreInstalledAppsL(RPointerArray &aPreInstalledAppParams); -private: - CAMPreInstallApp(); - - void ConstructL(); - -private: - - TFileName iPreInstallPath; // Path where to scan for pre-install files -#ifdef RD_MULTIPLE_DRIVE - CDesCArray* iInstallDocPathArray; -#else - TFileName iPreInstallDocumentPath; // Path where to scan for pre-install files -#endif // RD_MULTIPLE_DRIVE - - RFs iFs; - CDeliveryComponentStorage *iStorage; - RPointerArray iPreInstalledAppParams; - - }; - - - - } - -#endif /*AMPREINSTALLAPP_H_*/