diff -r 000000000000 -r 4e1aa6a622a0 commonservices/sysutil/inc/sysutilplugindef.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/commonservices/sysutil/inc/sysutilplugindef.h Tue Feb 02 00:53:00 2010 +0200 @@ -0,0 +1,57 @@ +// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +#ifndef SYSUTILPLUGINDEF_H +#define SYSUTILPLUGINDEF_H + +/** +@file +@publishedPartner +@released +*/ + +#include +#include + +namespace SysUtilPlugin + { + enum TPluginOrdinal + { + /** + GetDeviceAttributesAsArraysL function ordinal + */ + EGetDeviceAttributesAsArraysLOrdinal = 1 + }; + + /** + Retrieves a set of Device Type Information Attribute UIDs and a set of Device Type + Information Attribute values. + + Note: The values in the RArray array and the CDesC16Array& array + correspond with each other and the values are sorted in UID order from low to high. + + @param RArray& On return, contains an ordered set of UIDs which represent + device attributes. + @param CDesC16ArraySeg&s On return, contains a set of device attribute values which + must be in the same order as aKeys, i.e. the order of + attributes and keys must correspond. + @leave - One of the system-wide error codes. + + @capability ReadDeviceData Function implementation may access RDD protected APIs + */ + typedef void (*GetDeviceAttributesAsArraysFuncL)(RArray&, CDesC16Array&); + } + +#endif // SYSUTILPLUGINDEF_H