mtpfws/mtpfw/dataproviders/dputility/src/mmtpservicedataprovider.cpp
changeset 0 d0791faffa3f
equal deleted inserted replaced
-1:000000000000 0:d0791faffa3f
       
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // mw/remoteconn/mtpfws/mtpfw/dataproviders/dputility/src/mmtpservicedataprovider.cpp
       
    15 
       
    16 #include <mtp/mmtptype.h>
       
    17 
       
    18 #include "mmtpservicedataprovider.h"
       
    19 
       
    20 EXPORT_C MMTPServiceHandler* MMTPServiceDataProvider::ServiceHandler() const
       
    21 	{
       
    22 	return NULL;
       
    23 	}
       
    24 
       
    25 EXPORT_C TBool MMTPServiceDataProvider::IsValidServicePropCodeL(TUint16 /*aPropCode*/) const
       
    26 	{
       
    27 	return EFalse;
       
    28 	}
       
    29 
       
    30 EXPORT_C TUint32 MMTPServiceDataProvider::ServiceID() const
       
    31 	{
       
    32 	return 0;
       
    33 	}
       
    34 
       
    35 EXPORT_C TUint32 MMTPServiceDataProvider::OperationGranularity() const
       
    36 	{
       
    37 	// Default granularity of delete object and get object property is 50
       
    38 	return 50;
       
    39 	}