diff -r 7333d7932ef7 -r 8b7f4e561641 appinstaller/AppinstUi/startuplistupdater/inc/startuplistupdater.h --- a/appinstaller/AppinstUi/startuplistupdater/inc/startuplistupdater.h Tue Aug 31 15:21:33 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,71 +0,0 @@ -/* -* Copyright (c) 2010 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: Header file for startup list updater. -* -*/ - -#ifndef STARTUPLISTUPDATER_H -#define STARTUPLISTUPDATER_H - -#include // CBase -#include // RFs -#include // RDscStore - -namespace Swi - { - class RSisRegistryEntry; - } - -class CStartupListUpdater : public CBase - { -public: // constructor and destructor - static CStartupListUpdater* NewL(); - ~CStartupListUpdater(); - -public: // new functions - void UpdateStartupListL(); - -private: // new functions - CStartupListUpdater(); - void ConstructL(); - const TDesC& PrivateImportPathL(); - void ProcessImportsAndUninstallsL(); - void OpenDscStoreLC( RDscStore& aDscStore ); - void ImportNewResourceFilesL( RDscStore& aDscStore ); - void DeregisterUninstalledAppsL( RDscStore& aDscStore ); - void GetDataToBeImportedL( RPointerArray& aExecutableArray, - RPointerArray& aResourceFileArray ); - void ImportExecutablesL( RDscStore& aDscStore, RPointerArray& aExecutableArray ); - void RemoveImportedResourceFiles( RPointerArray& aResourceFileArray ); - void AppendExecutablesFromResourceFileL( const TDesC& aResourceFile, - RPointerArray& aExecutableArray ); - TBool IsValidExecutableForStartupL( const TDesC& aResourceFile, - const TDesC& aExecutableName ); - void GetInstalledAppsL( RPointerArray& aInstalledExecutableArray ); - void GetStartupListAppsL( RDscStore& aDscStore, - RPointerArray& aStartedExecutableArray ); - void StartedButNotInstalledAppsL( RPointerArray& aStartedExecutableArray, - RPointerArray& aInstalledExecutableArray, - RPointerArray& aStartedButNotInstalledExecutableArray ); - void RemoveFromStartupListL( RDscStore& aDscStore, RPointerArray& aExecutableArray ); - void GetExecutablesFromEntryL( Swi::RSisRegistryEntry& aEntry, - RPointerArray& aExecutableArray ); - -private: // new data - RFs iFs; - HBufC* iPrivateImportPath; - }; - -#endif // STARTUPLISTUPDATER_H -