engine/inc/FeedEngineObserver.h
changeset 2 29cda98b007e
child 7 a7a43293ae56
equal deleted inserted replaced
1:5f8e5adbbed9 2:29cda98b007e
       
     1 /*
       
     2 * Copyright (c) 2007-2010 Sebastian Brannstrom, Lars Persson, EmbedDev AB
       
     3 *
       
     4 * All rights reserved.
       
     5 * This component and the accompanying materials are made available
       
     6 * under the terms of the License "Eclipse Public License v1.0"
       
     7 * which accompanies this distribution, and is available
       
     8 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     9 *
       
    10 * Initial Contributors:
       
    11 * EmbedDev AB - initial contribution.
       
    12 *
       
    13 * Contributors:
       
    14 *
       
    15 * Description:
       
    16 *
       
    17 */
       
    18 
       
    19 #ifndef FEEDENGINEOBSERVER_H_
       
    20 #define FEEDENGINEOBSERVER_H_
       
    21 class MFeedEngineObserver {
       
    22 public:
       
    23 	enum TFeedState
       
    24 		{
       
    25 		EFeedAutoUpdate,
       
    26 		EFeedManualUpdate, 
       
    27 		EFeedSearch
       
    28 		};
       
    29 	
       
    30 	virtual void FeedDownloadStartedL(TFeedState aState, TUint aFeedUid) = 0;
       
    31 	virtual void FeedDownloadFinishedL(TFeedState aState, TUint aFeedUid, TInt aError) = 0;
       
    32 	virtual void FeedUpdateAllCompleteL(TFeedState aState) = 0;
       
    33 	virtual void OpmlParsingComplete(TUint aNumFeedsImported) = 0;
       
    34 };
       
    35 #endif /*FEEDENGINEOBSERVER_H_*/