# examples/RemoteConn/MtpDataProviderExample/src/cmtpexampledpvendordefinedop1.cpp

    00001 // Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
    00002 // All rights reserved.
    00003 // This component and the accompanying materials are made available
    00004 // under the terms of "Eclipse Public License v1.0"
    00005 // which accompanies this distribution, and is available
    00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    00007 //
    00008 // Initial Contributors:
    00009 // Nokia Corporation - initial contribution.
    00010 //
    00011 // Contributors:
    00012 //
    00013 // Description:
    00014 //
    00015
    00016
    00017 #include "cmtpexampledpvendordefinedop1.h"
    00018
    00026 MMTPExampleDpRequestProcessor* CMTPExampleDpVendorDefinedOp1::NewL(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection)
    00027     {
    00028     CMTPExampleDpVendorDefinedOp1* self = new (ELeave) CMTPExampleDpVendorDefinedOp1(aFramework, aConnection);
    00029     CleanupStack::PushL(self);
    00030     self->ConstructL();
    00031     CleanupStack::Pop(self);
    00032     return self;
    00033     }
    00034
    00035
    00039 CMTPExampleDpVendorDefinedOp1::~CMTPExampleDpVendorDefinedOp1()
    00040     {
    00041
    00042     }
    00043
    00047 CMTPExampleDpVendorDefinedOp1::CMTPExampleDpVendorDefinedOp1(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection) :
    00048     CMTPExampleDpRequestProcessor(aFramework, aConnection,  0, NULL)
    00049     {
    00050
    00051     }
    00052
    00053
    00057 void CMTPExampleDpVendorDefinedOp1::ServiceL()
    00058     {
    00059     SendResponseL(EMTPRespCodeOK);
    00060     }
    00061
    00062
    00066 void CMTPExampleDpVendorDefinedOp1::ConstructL()
    00067     {
    00068
    00069     }
    00070
    00071