diff -r d1838696558c -r 9dcba1ee99f7 appinstaller/AppMngr2/Sisx/inc/appmngr2sisxswimonitor.h --- a/appinstaller/AppMngr2/Sisx/inc/appmngr2sisxswimonitor.h Thu Oct 14 14:11:30 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,53 +0,0 @@ -/* -* Copyright (c) 2009 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: Utility class to listen SWI operations. -* -*/ - - -#ifndef C_APPMNGR2SISXSWIMONITOR_H -#define C_APPMNGR2SISXSWIMONITOR_H - -#include // CActive -#include // RProperty -#include // MAppMngr2RuntimeObserver - - -/** - * Class for listening SWI operations. When a software install operation - * (installation, uninstallation or backup restore) completes successfully, - * this class calls MAppMngr2RuntimeObserver::RefreshInstalledApps() to - * refresh the displayed list of installed applications. - */ -class CAppMngr2SisxSwiMonitor : public CActive - { -public: // constructors and destructor - static CAppMngr2SisxSwiMonitor* NewL( MAppMngr2RuntimeObserver& aObs ); - ~CAppMngr2SisxSwiMonitor(); - -protected: // from CActive - void DoCancel(); - void RunL(); - -private: // new functions - CAppMngr2SisxSwiMonitor( MAppMngr2RuntimeObserver& aObs ); - void ConstructL(); - -private: // data - MAppMngr2RuntimeObserver& iObs; - RProperty iSwInstallKey; - }; - -#endif // C_APPMNGR2SISXSWIMONITOR_H -