mtpfws/mtpfw/dataproviders/dataproviderapi/interface/mtpdataproviderconfig.rh
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 // Defines the resource type to be used for data provider registration
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @publishedPartner
       
    21  @released
       
    22 */
       
    23 
       
    24 #include <mtp/mtpdataproviderconfig.hrh>
       
    25 
       
    26 STRUCT MTP_DATA_PROVIDER
       
    27     {
       
    28     WORD type = KMTPDataProviderTypeECOM;
       
    29     BYTE major_version = 1;
       
    30     BYTE object_enumeration_persistent = 0; // 0 EFalse, 1 ETrue
       
    31     WORD supported_modes = KMTPModeMTP;     // OR'd combination of KMTPModeMTP, KMTPModePTP and KMTPModePictBridge   
       
    32     LTEXT server_name = "";
       
    33     LTEXT server_image_name = "";
       
    34     LLINK opaque_resource = 0;
       
    35     BYTE enumeration_phase = 0;
       
    36     }
       
    37