irda/irdastack/INC/irda.rh
changeset 0 29b1cd4cb562
equal deleted inserted replaced
-1:000000000000 0:29b1cd4cb562
       
     1 // Copyright (c) 2005-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 /**
       
    17  @file
       
    18  @publishedPartner
       
    19  @released
       
    20 */
       
    21 
       
    22 #include <badef.rh>
       
    23 
       
    24 
       
    25 // Nickname
       
    26 STRUCT NICKNAME
       
    27 	{
       
    28 	LTEXT8 buf(28);
       
    29 	}
       
    30 
       
    31 
       
    32 // Structure of IAS entrys to add on startup
       
    33 STRUCT IAS
       
    34 	{
       
    35 	STRUCT classes[];		// IAS_CLASS
       
    36 	}
       
    37 
       
    38 
       
    39 // An IAS entry (Class and attribute/value pairs)
       
    40 STRUCT IAS_CLASS
       
    41 	{
       
    42 	LTEXT8 class;
       
    43 	STRUCT attrs[];			// IAS_ATTR
       
    44 	}
       
    45 
       
    46 
       
    47 // An IAS attribute/value pair
       
    48 STRUCT IAS_ATTR
       
    49 	{
       
    50 	LTEXT8  attr(60);
       
    51 
       
    52 	BYTE    type;			// Use values from enum from irda.hrh
       
    53 
       
    54 	LONG    int_value;		// Since *WHEN* is a word two bytes?
       
    55 	LTEXT8  oct_value(1023);
       
    56 	LTEXT8  astr_value(255);
       
    57 	LTEXT16 ustr_value(127);
       
    58 	}
       
    59 
       
    60 // Structure of device settings
       
    61 STRUCT DEVICE_SETTINGS
       
    62 	{
       
    63 	BYTE	maxDiscoverySlots;
       
    64 	BYTE	firstHint;
       
    65 	BYTE	secondHint;
       
    66 	}