williamr@2: // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@2: // All rights reserved. williamr@2: // This component and the accompanying materials are made available williamr@2: // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members williamr@2: // which accompanies this distribution, and is available williamr@2: // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". williamr@2: // williamr@2: // Initial Contributors: williamr@2: // Nokia Corporation - initial contribution. williamr@2: // williamr@2: // Contributors: williamr@2: // williamr@2: // Description: williamr@2: // Definition of the TEComResolverParams class. williamr@2: // williamr@2: // williamr@2: williamr@2: williamr@2: williamr@2: #ifndef __ECOMRESOLVERPARAMS_H__ williamr@2: #define __ECOMRESOLVERPARAMS_H__ williamr@2: williamr@2: #include williamr@2: williamr@2: /** williamr@2: Used to pass values to a Resolver to aid in the filtering of Interface williamr@2: Implementation plugins. These values are considered match characteristics used williamr@2: during resolution of these Interface Implementation. It is a class used williamr@2: in the ECOM API provided by the REComSession class. williamr@2: This class DOES NOT own the descriptor data iDataType points to and so it will williamr@2: not release the data on descruction. This is the responsibility of the user of williamr@2: this class. williamr@2: williamr@2: @see REComSession williamr@2: @publishedAll williamr@2: @released williamr@2: */ williamr@2: williamr@2: class TEComResolverParams williamr@2: { williamr@2: public: williamr@2: williamr@2: inline TEComResolverParams(); williamr@2: williamr@2: williamr@2: inline const TDesC8& DataType() const; williamr@2: williamr@2: williamr@2: inline void SetDataType(const TDesC8& aDataType); williamr@2: williamr@2: inline TBool IsGenericMatch() const; williamr@2: inline void SetGenericMatch(TBool aGenericMatch); williamr@2: williamr@2: williamr@2: inline TBool IsWildcardMatch() const; williamr@2: williamr@2: williamr@2: inline void SetWildcardMatch(TBool aWildcardMatch); williamr@2: williamr@2: private: williamr@2: /** The Interface Implementation plugin 'datatype' match descriptor.*/ williamr@2: williamr@2: TPtrC8 iDataType; williamr@2: williamr@2: /** The flag to show if generic matching is enabled */ williamr@2: TBool iGenericMatch; williamr@2: }; williamr@2: williamr@2: williamr@2: #include williamr@2: williamr@2: #endif // __ECOMRESOLVERPARAMS_H__