browserutilities/feedsengine/FeedsServer/Client/src/FeedRequestHandlers.cpp
changeset 0 dd21522fd290
child 25 0ed94ceaa377
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/browserutilities/feedsengine/FeedsServer/Client/src/FeedRequestHandlers.cpp	Mon Mar 30 12:54:55 2009 +0300
@@ -0,0 +1,105 @@
+/*
+* Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "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:  Feed related client side request handlings.
+*
+*/
+
+
+#include <FeedsServerFeed.h>
+#include <S32Mem.h>
+#include <es_sock.h>
+
+#include "FeedRequestHandlers.h"
+
+// -----------------------------------------------------------------------------
+// CFeedRequestHandler::NewL
+//
+// Two-phased constructor.
+// -----------------------------------------------------------------------------
+CFeedRequestHandler* CFeedRequestHandler::NewL()
+    {
+    CFeedRequestHandler* self = new (ELeave) CFeedRequestHandler();
+    self->ConstructL();
+    return self;
+    }
+
+// -----------------------------------------------------------------------------
+// CFeedRequestHandler::ConstructL
+//
+// Symbian 2nd phase constructor can leave.
+// -----------------------------------------------------------------------------
+//
+void CFeedRequestHandler::ConstructL()
+    {   
+    }
+
+// -----------------------------------------------------------------------------
+// CFeedRequestHandler::CFeedRequestHandler
+//
+// C++ default constructor can NOT contain any code, that
+// might leave.
+// -----------------------------------------------------------------------------	
+CFeedRequestHandler::CFeedRequestHandler():iOperationRequested(EFalse), iFeedsInterface(NULL)
+    {
+    }
+
+// -----------------------------------------------------------------------------
+// CFeedRequestHandler::~CFeedRequestHandler
+//
+// Deconstructor.
+// -----------------------------------------------------------------------------
+CFeedRequestHandler::~CFeedRequestHandler()
+    {
+    iFeedsInterface = NULL;	
+    }
+
+// -----------------------------------------------------------------------------
+// CFeedRequestHandler::GetFeedInterface
+//
+// Deconstructor.
+// -----------------------------------------------------------------------------
+ RFeedsInterface* CFeedRequestHandler::GetFeedInterface()
+    {
+    return iFeedsInterface;
+    }
+
+// -----------------------------------------------------------------------------
+// CFeedRequestHandler::SetFeedInterface
+//
+// Deconstructor.
+// -----------------------------------------------------------------------------
+ void CFeedRequestHandler::SetFeedInterface(RFeedsInterface*  aFeedsInterface)
+    {
+    iFeedsInterface = aFeedsInterface;
+    }
+	
+// -----------------------------------------------------------------------------
+// CFeedRequestHandler::GetOperationRequested
+//
+// Deconstructor.
+// -----------------------------------------------------------------------------
+ TBool CFeedRequestHandler::GetOperationRequested()
+    {
+    return iOperationRequested;
+    }
+
+// -----------------------------------------------------------------------------
+// CFeedRequestHandler::SetOperationRequested
+//
+// Deconstructor.
+// -----------------------------------------------------------------------------
+ void CFeedRequestHandler::SetOperationRequested(TInt aOperationRequested)
+    {
+    iOperationRequested = aOperationRequested;
+    }
\ No newline at end of file