author | tahirm@symbian.org |
Tue, 29 Sep 2009 14:16:06 +0100 | |
branch | RCL_1 |
changeset 19 | 9cbc205f4c45 |
parent 0 | dd21522fd290 |
child 36 | 0ed94ceaa377 |
permissions | -rw-r--r-- |
/* * 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: FolderItem related client side request handlings. * */ #include <e32base.h> #include <FeedsServerFolderItem.h> #include <S32Mem.h> #include <es_sock.h> #include "FolderItemRequestHandlers.h" // ----------------------------------------------------------------------------- // CFolderItemRequestHandler::NewL // // Two-phased constructor. // ----------------------------------------------------------------------------- CFolderItemRequestHandler* CFolderItemRequestHandler::NewL() { CFolderItemRequestHandler* self = new (ELeave) CFolderItemRequestHandler(); self->ConstructL(); return self; } // ----------------------------------------------------------------------------- // CFolderItemRequestHandler::ConstructL // // Symbian 2nd phase constructor can leave. // ----------------------------------------------------------------------------- // void CFolderItemRequestHandler::ConstructL() { } // ----------------------------------------------------------------------------- // CFolderItemRequestHandler::CFolderItemRequestHandler // // C++ default constructor can NOT contain any code, that // might leave. // ----------------------------------------------------------------------------- CFolderItemRequestHandler::CFolderItemRequestHandler():iOperationRequested(EFalse), iFeedsInterface(NULL) { } // ----------------------------------------------------------------------------- // CFolderItemRequestHandler::~CFolderItemRequestHandler // // Deconstructor. // ----------------------------------------------------------------------------- CFolderItemRequestHandler::~CFolderItemRequestHandler() { iFeedsInterface = NULL; } // ----------------------------------------------------------------------------- // CFolderItemRequestHandler::GetFeedInterface // // Deconstructor. // ----------------------------------------------------------------------------- RFeedsInterface* CFolderItemRequestHandler::GetFeedInterface() { return iFeedsInterface; } // ----------------------------------------------------------------------------- // CFolderItemRequestHandler::SetFeedInterface // // Deconstructor. // ----------------------------------------------------------------------------- void CFolderItemRequestHandler::SetFeedInterface(RFeedsInterface* aFeedsInterface) { iFeedsInterface = aFeedsInterface; } // ----------------------------------------------------------------------------- // CFolderItemRequestHandler::GetOperationRequested // // Deconstructor. // ----------------------------------------------------------------------------- TBool CFolderItemRequestHandler::GetOperationRequested() { return iOperationRequested; } // ----------------------------------------------------------------------------- // CFolderItemRequestHandler::SetOperationRequested // // Deconstructor. // ----------------------------------------------------------------------------- void CFolderItemRequestHandler::SetOperationRequested(TInt aOperationRequested) { iOperationRequested = aOperationRequested; }