syncmlfw/ds/settings/src/NSmlDSProfile.rh
changeset 0 b497e44ab2fc
equal deleted inserted replaced
-1:000000000000 0:b497e44ab2fc
       
     1 /*
       
     2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: Defines fields for creation of sync profile from resource files.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "NSmlDSResourceProfiledefs.h"
       
    20 
       
    21 STRUCT PROFILES
       
    22 	{
       
    23 	STRUCT profiles[];
       
    24 	}
       
    25 
       
    26 STRUCT PROFILE
       
    27 	{
       
    28 	STRUCT contenttypes[];
       
    29 	LTEXT profiledisplayname;
       
    30 	WORD iapid = 0;
       
    31 	LONG transportid = 1;
       
    32 	LTEXT serverusername;
       
    33 	LTEXT serverpassword;
       
    34 	LTEXT serverurl;
       
    35 	LTEXT serverid;
       
    36 	WORD serveralertedaction = ESmlConfirmSync;
       
    37 	BYTE deleteallowed = 1;
       
    38 	BYTE profilehidden = 0;
       
    39 	LTEXT visibility;
       
    40 	WORD protocolversion = ESmlVersion1_2;
       
    41 	LONG creatorid;	
       
    42 	BYTE httpauthused = 0;
       
    43 	LTEXT httpauthusername;
       
    44 	LTEXT httpauthpassword;
       
    45 	}
       
    46 
       
    47 STRUCT CONTENTTYPE
       
    48 	{
       
    49 	LONG adapter_implementation_uid;
       
    50 	LTEXT clientdatasource;
       
    51 	LTEXT serverdatasource;
       
    52 	WORD synctype = ESmlTwoWay;
       
    53 	LTEXT filtervisibility;
       
    54 	LTEXT synctypevisibility;
       
    55 	LONG creatorid;
       
    56 	BYTE enabled = 1;	
       
    57 	}