ncdengine/inc/ncdsendhttprequestoperation.h
author Simon Howkins <simonh@symbian.org>
Mon, 22 Nov 2010 12:04:39 +0000
branchRCL_3
changeset 84 e6c5e34cd9b9
parent 0 ba25891c3a9e
permissions -rw-r--r--
Adjusted to avoid exports, etc, from a top-level bld.inf

/*
* Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "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:  
*
*/


#ifndef M_NCDSENDHTTPREQUESTOPERATION_H
#define M_NCDSENDHTTPREQUESTOPERATION_H

#include <e32base.h>

#include "ncdoperation.h"
#include "ncdinterfaceids.h"

/**
 * Operation for sending a standard HTTP request
 */
class MNcdSendHttpRequestOperation : public MNcdOperation
    {
public:

    /**
     * Unique identifier for the interface, required for all MCatalogsBase interfaces.
     *
     * 
     */
    enum { KInterfaceUid = ENcdSendHttpRequestOperationUid };    
    
    /**
     * Request response
     *
     * @return HTTP response for the sent request. Ownership is transferred
     * @leave KErrNotReady if the operation has not finished
     * @leave Other Symbian error code
     */
    virtual HBufC8* ResponseL() const = 0;

protected:

    virtual ~MNcdSendHttpRequestOperation()
        {
        }
    };

#endif // M_NCDSENDHTTPREQUESTOPERATION_H