browserutilities/feedsengine/FeedsServer/Client/inc/FeedRequestHandlers.h
changeset 0 dd21522fd290
child 36 0ed94ceaa377
equal deleted inserted replaced
-1:000000000000 0:dd21522fd290
       
     1 /*
       
     2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Feed related client side request handlings.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef FEED_REQUEST_HANDLER_H
       
    20 #define FEED_REQUEST_HANDLER_H
       
    21 
       
    22 // Deprecation warning
       
    23 #warning This header file has been deprecated. Will be removed in one of the next SDK releases.
       
    24 
       
    25 // INCLUDES
       
    26 #include <FeedsServerMsg.h>
       
    27 
       
    28 #include "FeedsServerRequestHandler.h"
       
    29 
       
    30 // CONSTANTS
       
    31 
       
    32 // MACROS
       
    33 
       
    34 // DATA TYPES
       
    35 
       
    36 // FUNCTION PROTOTYPES
       
    37 
       
    38 // FORWARD DECLARATIONS
       
    39 
       
    40 // CLASS DECLARATION
       
    41 
       
    42 
       
    43 
       
    44 
       
    45 /**
       
    46 *  Handles the fetching of a feed.
       
    47 *
       
    48 *  \b Library: FeedsEngine.lib
       
    49 *
       
    50 *  @since CCB (7.1)
       
    51 */
       
    52 
       
    53 class CFeedRequestHandler : public CRequestHandler
       
    54 	{
       
    55     public: // Construct/Destructor
       
    56     /**
       
    57      * Two-phased constructor.
       
    58      */
       
    59     static	CFeedRequestHandler* NewL();    
       
    60     
       
    61     /**
       
    62      * Destructor
       
    63      */
       
    64     virtual ~CFeedRequestHandler();	
       
    65 
       
    66 
       
    67 private:
       
    68 
       
    69     /**
       
    70      * C++ default constructor.
       
    71      */
       
    72     CFeedRequestHandler();
       
    73     
       
    74     /**
       
    75      * By default Symbian 2nd phase constructor is private.
       
    76      */
       
    77     void ConstructL();
       
    78 
       
    79 public:    
       
    80     
       
    81     /**
       
    82      * Gets the FeedInterface
       
    83      */
       
    84      RFeedsInterface *GetFeedInterface();
       
    85      
       
    86      /**
       
    87      * Sets the FeedInterface
       
    88      */
       
    89      void SetFeedInterface(RFeedsInterface* aFeedsInterface);
       
    90 
       
    91     /**
       
    92      * Get the OperationRequested
       
    93      */	
       
    94      TBool GetOperationRequested();
       
    95      
       
    96      /**
       
    97      * set the OperationRequested
       
    98      */	
       
    99      void SetOperationRequested(TBool aOperationRequested);
       
   100     
       
   101 private:
       
   102     TBool    iOperationRequested;
       
   103     RFeedsInterface *iFeedsInterface;
       
   104 
       
   105     };
       
   106 
       
   107 #endif  // FEED_REQUEST_HANDLER_H
       
   108 // End of File