diff -r 000000000000 -r e4d67989cc36 lowlevellibsandfws/pluginfw/Framework/inc/EComResolverParams.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lowlevellibsandfws/pluginfw/Framework/inc/EComResolverParams.h Tue Feb 02 02:01:42 2010 +0200 @@ -0,0 +1,70 @@ +// Copyright (c) 1997-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: +// Definition of the TEComResolverParams class. +// +// + +#ifndef __ECOMRESOLVERPARAMS_H__ +#define __ECOMRESOLVERPARAMS_H__ + +#include + +/** +Used to pass values to a Resolver to aid in the filtering of Interface +Implementation plugins. These values are considered match characteristics used +during resolution of these Interface Implementation. It is a class used +in the ECOM API provided by the REComSession class. +This class DOES NOT own the descriptor data iDataType points to and so it will +not release the data on descruction. This is the responsibility of the user of +this class. + +@see REComSession +@publishedAll +@released +*/ + +class TEComResolverParams + { +public: + + inline TEComResolverParams(); + + + inline const TDesC8& DataType() const; + + + inline void SetDataType(const TDesC8& aDataType); + + inline TBool IsGenericMatch() const; + inline void SetGenericMatch(TBool aGenericMatch); + + + inline TBool IsWildcardMatch() const; + + + inline void SetWildcardMatch(TBool aWildcardMatch); + +private: + /** The Interface Implementation plugin 'datatype' match descriptor.*/ + + TPtrC8 iDataType; + + /** The flag to show if generic matching is enabled */ + TBool iGenericMatch; + }; + + +#include + +#endif // __ECOMRESOLVERPARAMS_H__