diff -r d1838696558c -r 9dcba1ee99f7 appinstaller/AppMngr2/Sisx/inc/appmngr2sisxappinfo.h --- a/appinstaller/AppMngr2/Sisx/inc/appmngr2sisxappinfo.h Thu Oct 14 14:11:30 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,79 +0,0 @@ -/* -* Copyright (c) 2002-2008 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: SisxAppInfo represents installed native/SISX applications -* -*/ - - -#ifndef C_APPMNGR2SISXAPPINFO_H -#define C_APPMNGR2SISXAPPINFO_H - -#include // CAppMngr2AppInfo -#include // RSisRegistryEntry -#include // SwiUI::RSWInstLauncher -#include // SwiUI::CommonUI::CCUICertificateInfo -#include // TDriveUnit - - -class CAppMngr2SisxAppInfo : public CAppMngr2AppInfo - { -public: // constructor and destructor - static CAppMngr2SisxAppInfo* NewL( CAppMngr2Runtime& aRuntime, - Swi::RSisRegistryEntry& aEntry, RFs& aFsSession ); - ~CAppMngr2SisxAppInfo(); - -public: // from CAppMngr2InfoBase - TInt IconIndex() const; - const TDesC& Name() const; - const TDesC& Details() const; - TBool SupportsGenericCommand( TInt aCmdId ); - void HandleCommandL( TInt aCommandId, TRequestStatus& aStatus ); - void HandleCommandResultL( TInt aStatus ); - void CancelCommand(); - -public: // new functions - TVersion Version() const; - const TDesC& Vendor() const; - TBool IsTrusted() const; - -protected: // new functions - CAppMngr2SisxAppInfo( CAppMngr2Runtime& aRuntime, RFs& aFsSession ); - void ConstructL( Swi::RSisRegistryEntry& aEntry ); - -private: // new functions - void ShowDetailsL(); - void ReadCertificatesL(); - void HandleUninstallL( TRequestStatus& aStatus ); - -private: // data - TUid iAppUid; - HBufC* iName; - HBufC* iDetails; - TVersion iVersion; - HBufC* iVendor; - TBool iIsAugmentation; - TInt iAugmentationIndex; - TBool iIsTrusted; - TBool iIsDRMProtected; - TBool iIsRightsObjectMissingOrExpired; - HBufC* iProtectedFile; - SwiUI::RSWInstLauncher* iSWInstLauncher; - HBufC8* iSWInstLauncherCustomUninstallParams; - RPointerArray iCertificates; - TBool iCertsRead; - TInt iCommandId; - }; - -#endif // C_APPMNGR2SISXAPPINFO_H -