| author | William Roberts <williamr@symbian.org> |
| Wed, 31 Mar 2010 12:33:34 +0100 | |
| branch | Symbian3 |
| changeset 4 | 837f303aceeb |
| parent 2 | 2fe1408b6811 |
| permissions | -rw-r--r-- |
| williamr@2 | 1 |
/* |
| williamr@2 | 2 |
* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). |
| williamr@2 | 3 |
* All rights reserved. |
| williamr@2 | 4 |
* This component and the accompanying materials are made available |
| williamr@4 | 5 |
* under the terms of "Eclipse Public License v1.0" |
| williamr@2 | 6 |
* which accompanies this distribution, and is available |
| williamr@4 | 7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
| williamr@2 | 8 |
* |
| williamr@2 | 9 |
* Initial Contributors: |
| williamr@2 | 10 |
* Nokia Corporation - initial contribution. |
| williamr@2 | 11 |
* |
| williamr@2 | 12 |
* Contributors: |
| williamr@2 | 13 |
* |
| williamr@2 | 14 |
* Description: |
| williamr@2 | 15 |
* |
| williamr@2 | 16 |
*/ |
| williamr@2 | 17 |
|
| williamr@2 | 18 |
|
| williamr@2 | 19 |
#ifndef MCLFPROCESSOBSERVER_H |
| williamr@2 | 20 |
#define MCLFPROCESSOBSERVER_H |
| williamr@2 | 21 |
|
| williamr@2 | 22 |
// INCLUDES |
| williamr@2 | 23 |
#include <e32std.h> |
| williamr@2 | 24 |
|
| williamr@2 | 25 |
// DATA TYPES |
| williamr@2 | 26 |
/** |
| williamr@2 | 27 |
* Content Listing Framework process events |
| williamr@2 | 28 |
*/ |
| williamr@2 | 29 |
enum TCLFProcessEvent |
| williamr@2 | 30 |
{
|
| williamr@2 | 31 |
/// CLF server starts update process |
| williamr@2 | 32 |
ECLFUpdateStart = 0x0, |
| williamr@2 | 33 |
/// CLF server update process is end |
| williamr@2 | 34 |
ECLFUpdateStop = 0x1 |
| williamr@2 | 35 |
}; |
| williamr@2 | 36 |
|
| williamr@2 | 37 |
// FORWARD DECLARATIONS |
| williamr@2 | 38 |
class MCLFProcessObserverExt; |
| williamr@2 | 39 |
|
| williamr@2 | 40 |
// CLASS DECLARATION |
| williamr@2 | 41 |
|
| williamr@2 | 42 |
/** |
| williamr@2 | 43 |
* Process observer interface for Content Listing Framework. |
| williamr@2 | 44 |
* Implement this interface to get notified of process events. These process |
| williamr@2 | 45 |
* events are generated when update process of CLF server is started |
| williamr@2 | 46 |
* and finished. |
| williamr@2 | 47 |
* |
| williamr@2 | 48 |
* @lib ContentListingFramework.lib |
| williamr@2 | 49 |
* @since S60 3.1 |
| williamr@2 | 50 |
*/ |
| williamr@2 | 51 |
class MCLFProcessObserver |
| williamr@2 | 52 |
{
|
| williamr@2 | 53 |
public: // New functions |
| williamr@2 | 54 |
|
| williamr@2 | 55 |
/** |
| williamr@2 | 56 |
* Abstract method to handle CLF process event. This method is called |
| williamr@2 | 57 |
* when process events are generated. |
| williamr@2 | 58 |
* @since S60 3.1 |
| williamr@2 | 59 |
* @param aProcessEvent The process event that was generated. |
| williamr@2 | 60 |
*/ |
| williamr@2 | 61 |
virtual void HandleCLFProcessEventL( TCLFProcessEvent aProcessEvent ) = 0; |
| williamr@2 | 62 |
|
| williamr@2 | 63 |
protected: |
| williamr@2 | 64 |
|
| williamr@2 | 65 |
/** |
| williamr@2 | 66 |
* Destructor. |
| williamr@2 | 67 |
*/ |
| williamr@2 | 68 |
virtual ~MCLFProcessObserver() {}
|
| williamr@2 | 69 |
|
| williamr@2 | 70 |
private: // Extension interface |
| williamr@2 | 71 |
|
| williamr@2 | 72 |
/** |
| williamr@2 | 73 |
* This member is internal and not intended for use. |
| williamr@2 | 74 |
*/ |
| williamr@2 | 75 |
virtual MCLFProcessObserverExt* Extension() { return NULL; }
|
| williamr@2 | 76 |
|
| williamr@2 | 77 |
}; |
| williamr@2 | 78 |
|
| williamr@2 | 79 |
#endif // MCLFProcessObserver_H |
| williamr@2 | 80 |
|
| williamr@2 | 81 |
// End of File |