diff -r d1838696558c -r 9dcba1ee99f7 appinstaller/AppMngr2/Widget/inc/appmngr2widgetappinfo.h --- a/appinstaller/AppMngr2/Widget/inc/appmngr2widgetappinfo.h Thu Oct 14 14:11:30 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,59 +0,0 @@ -/* -* Copyright (c) 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: WidgetAppInfo represents installed Java applications -* -*/ - - -#ifndef C_APPMNGR2WIDGETAPPINFO_H -#define C_APPMNGR2WIDGETAPPINFO_H - -#include // CAppMngr2AppInfo -#include // SwiUI::RSWInstLauncher - -class CWidgetInfo; - - -class CAppMngr2WidgetAppInfo : public CAppMngr2AppInfo - { -public: // constructor and destructor - static CAppMngr2WidgetAppInfo* NewL( CAppMngr2Runtime& aRuntime, - const CWidgetInfo& aWidget, RFs& aFsSession ); - ~CAppMngr2WidgetAppInfo(); - -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(); - -protected: // new functions - CAppMngr2WidgetAppInfo( CAppMngr2Runtime& aRuntime, RFs& aFsSession ); - void ConstructL( const CWidgetInfo& aWidget ); - -private: // new functions - void ShowDetailsL(); - -private: // data - TUid iWidgetUid; - HBufC* iName; - HBufC* iDetails; - SwiUI::RSWInstLauncher* iSWInstLauncher; - }; - -#endif // C_APPMNGR2WIDGETAPPINFO_H -