commonservices/sysutil/inc/sysutilplugindef.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2008-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 SYSUTILPLUGINDEF_H
       
    17 #define SYSUTILPLUGINDEF_H
       
    18 
       
    19 /** 
       
    20 @file
       
    21 @publishedPartner
       
    22 @released
       
    23 */
       
    24 
       
    25 #include <e32cmn.h>
       
    26 #include <badesca.h>
       
    27 
       
    28 namespace SysUtilPlugin
       
    29 	{
       
    30 	enum TPluginOrdinal
       
    31 		{
       
    32 		/**
       
    33 		GetDeviceAttributesAsArraysL function ordinal
       
    34 		*/
       
    35 		EGetDeviceAttributesAsArraysLOrdinal = 1
       
    36 		};
       
    37 	
       
    38 	/**
       
    39 	 Retrieves a set of Device Type Information Attribute UIDs and a set of Device Type 
       
    40 	 Information Attribute values. 
       
    41 	 
       
    42 	 Note: The values in the RArray<TInt32> array and the CDesC16Array& array 
       
    43 	 correspond with each other and the values are sorted in UID order from low to high.
       
    44 	 
       
    45 	 @param RArray<TInt32>&		On return, contains an ordered set of UIDs which represent 
       
    46 								device attributes.
       
    47 	 @param CDesC16ArraySeg&s	On return, contains a set of device attribute values which 
       
    48 								must be in the same order as aKeys, i.e. the order of 
       
    49 								attributes and keys must correspond.
       
    50 	 @leave -					One of the system-wide error codes.
       
    51 	 
       
    52 	 @capability ReadDeviceData Function implementation may access RDD protected APIs
       
    53 	*/
       
    54 	typedef void (*GetDeviceAttributesAsArraysFuncL)(RArray<TInt32>&, CDesC16Array&);
       
    55 	}
       
    56 
       
    57 #endif	// SYSUTILPLUGINDEF_H