ncdengine/inc/ncdsendhttprequestoperation.h
author Pat Downey <patd@symbian.org>
Tue, 18 May 2010 13:42:18 +0100
changeset 35 4a49a8c90306
parent 0 ba25891c3a9e
permissions -rw-r--r--
Merge docml changeset, iby creation mods and sqlite_secure (bug 2548).

/*
* 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