1.1 --- a/epoc32/include/ecom/ecomresolverparams.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/ecom/ecomresolverparams.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,72 @@
1.4 -ecomresolverparams.h
1.5 +// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +// All rights reserved.
1.7 +// This component and the accompanying materials are made available
1.8 +// 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
1.9 +// which accompanies this distribution, and is available
1.10 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.11 +//
1.12 +// Initial Contributors:
1.13 +// Nokia Corporation - initial contribution.
1.14 +//
1.15 +// Contributors:
1.16 +//
1.17 +// Description:
1.18 +// Definition of the TEComResolverParams class.
1.19 +//
1.20 +//
1.21 +
1.22 +
1.23 +
1.24 +#ifndef __ECOMRESOLVERPARAMS_H__
1.25 +#define __ECOMRESOLVERPARAMS_H__
1.26 +
1.27 +#include <e32base.h>
1.28 +
1.29 +/**
1.30 +Used to pass values to a Resolver to aid in the filtering of Interface
1.31 +Implementation plugins. These values are considered match characteristics used
1.32 +during resolution of these Interface Implementation. It is a class used
1.33 +in the ECOM API provided by the REComSession class.
1.34 +This class DOES NOT own the descriptor data iDataType points to and so it will
1.35 +not release the data on descruction. This is the responsibility of the user of
1.36 +this class.
1.37 +
1.38 +@see REComSession
1.39 +@publishedAll
1.40 +@released
1.41 +*/
1.42 +
1.43 +class TEComResolverParams
1.44 + {
1.45 +public:
1.46 +
1.47 + inline TEComResolverParams();
1.48 +
1.49 +
1.50 + inline const TDesC8& DataType() const;
1.51 +
1.52 +
1.53 + inline void SetDataType(const TDesC8& aDataType);
1.54 +
1.55 + inline TBool IsGenericMatch() const;
1.56 + inline void SetGenericMatch(TBool aGenericMatch);
1.57 +
1.58 +
1.59 + inline TBool IsWildcardMatch() const;
1.60 +
1.61 +
1.62 + inline void SetWildcardMatch(TBool aWildcardMatch);
1.63 +
1.64 +private:
1.65 + /** The Interface Implementation plugin 'datatype' match descriptor.*/
1.66 +
1.67 + TPtrC8 iDataType;
1.68 +
1.69 + /** The flag to show if generic matching is enabled */
1.70 + TBool iGenericMatch;
1.71 + };
1.72 +
1.73 +
1.74 +#include <ecom/ecomresolverparams.inl>
1.75 +
1.76 +#endif // __ECOMRESOLVERPARAMS_H__