mtpfws/mtpfw/inc/mtpserviceconfig.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 //
       
    15 
       
    16 #ifndef MTPSERVICECONFIG_RH_
       
    17 
       
    18 #define MTPSERVICECONFIG_RH_
       
    19 
       
    20 #include "mtpserviceconfig.hrh"
       
    21 
       
    22 STRUCT SVC_PROPERTY
       
    23     {
       
    24     LONG    namespaceid;    
       
    25     
       
    26     LONG    pkid;
       
    27     LTEXT   name;
       
    28     
       
    29     LONG    datatype;
       
    30     BYTE    getset;
       
    31     BYTE    formflag;
       
    32     }
       
    33 
       
    34 STRUCT SVC_FORMAT
       
    35     {
       
    36     LONG    guid[KNum4IntsOfGUID];    
       
    37     
       
    38     LTEXT   name;
       
    39     LTEXT   mimetype1;
       
    40     WORD    baseformatcode1;
       
    41     }
       
    42 
       
    43 STRUCT SVC_METHOD
       
    44     {
       
    45     LONG    guid[KNum4IntsOfGUID];   
       
    46     
       
    47     LTEXT   name;
       
    48     WORD    obj_ass_formatcode1;
       
    49     }
       
    50 
       
    51 STRUCT SVC_EVENT
       
    52     {
       
    53     WORD    datacode;
       
    54     LONG    guid[KNum4IntsOfGUID];   
       
    55     LTEXT   name;
       
    56     }
       
    57 
       
    58 STRUCT SVC_GUID
       
    59     {
       
    60     LONG   guid[KNum4IntsOfGUID];   
       
    61     }
       
    62     
       
    63 STRUCT ELEMENTSARRAY
       
    64     {
       
    65     STRUCT  elements[];
       
    66     }
       
    67 
       
    68 STRUCT MTP_SERVICE_INFO
       
    69     {
       
    70     LONG       pguid[KNum4IntsOfGUID]; 
       
    71     
       
    72     LONG       version;
       
    73     
       
    74     LONG       svcguid[KNum4IntsOfGUID]; 
       
    75     
       
    76     LTEXT      servicename;
       
    77     LONG       servicetype;
       
    78     LONG       base_serviceid;
       
    79     
       
    80     LLINK      use_service_guids;
       
    81     
       
    82     LLINK      svc_property_namespaces;
       
    83     LLINK      svc_properties;
       
    84     LLINK      svc_formats;
       
    85     LLINK      svc_methods;
       
    86     LLINK      svc_events;
       
    87     LLINK      svc_datablock;
       
    88     }
       
    89 
       
    90 STRUCT MTP_SUPPORTED_SERVICES
       
    91     {
       
    92     LONG    guid[KNum4IntsOfGUID]; 
       
    93     LONG    svctype;
       
    94     LLINK   r_serviceinfo;
       
    95     }
       
    96 
       
    97 
       
    98 #endif /* MTPSERVICECONFIG_RH_ */