1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef __APGNOTIF_H__
17 #define __APGNOTIF_H__
22 class MApaAppListServObserver
24 MApaAppListServObserver
35 virtual void HandleAppListEvent(TInt aEvent)=0;
37 IMPORT_C MApaAppListServObserver();
39 IMPORT_C virtual void MApaAppListServObserver_Reserved1();
40 IMPORT_C virtual void MApaAppListServObserver_Reserved2();
42 TInt iMApaAppListServObserver_Reserved1;
46 class CApaAppListNotifier : public CActive
47 /** An application list change notifier.
49 It provides notification whenever an application is added or deleted.
55 IMPORT_C ~CApaAppListNotifier();
56 IMPORT_C static CApaAppListNotifier* NewL(MApaAppListServObserver* aObserver, TPriority aPriority);
57 private: // from CActive
61 CApaAppListNotifier(MApaAppListServObserver& aObserver, TPriority aPriority);
64 MApaAppListServObserver& iObserver;
65 RApaLsSession iLsSession;