|
1 // Copyright (c) 1997-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 // Definition of the TEComResolverParams class. |
|
15 // |
|
16 // |
|
17 |
|
18 #ifndef __ECOMRESOLVERPARAMS_H__ |
|
19 #define __ECOMRESOLVERPARAMS_H__ |
|
20 |
|
21 #include <e32base.h> |
|
22 |
|
23 /** |
|
24 Used to pass values to a Resolver to aid in the filtering of Interface |
|
25 Implementation plugins. These values are considered match characteristics used |
|
26 during resolution of these Interface Implementation. It is a class used |
|
27 in the ECOM API provided by the REComSession class. |
|
28 This class DOES NOT own the descriptor data iDataType points to and so it will |
|
29 not release the data on descruction. This is the responsibility of the user of |
|
30 this class. |
|
31 |
|
32 @see REComSession |
|
33 @publishedAll |
|
34 @released |
|
35 */ |
|
36 |
|
37 class TEComResolverParams |
|
38 { |
|
39 public: |
|
40 |
|
41 inline TEComResolverParams(); |
|
42 |
|
43 |
|
44 inline const TDesC8& DataType() const; |
|
45 |
|
46 |
|
47 inline void SetDataType(const TDesC8& aDataType); |
|
48 |
|
49 inline TBool IsGenericMatch() const; |
|
50 inline void SetGenericMatch(TBool aGenericMatch); |
|
51 |
|
52 |
|
53 inline TBool IsWildcardMatch() const; |
|
54 |
|
55 |
|
56 inline void SetWildcardMatch(TBool aWildcardMatch); |
|
57 |
|
58 private: |
|
59 /** The Interface Implementation plugin 'datatype' match descriptor.*/ |
|
60 |
|
61 TPtrC8 iDataType; |
|
62 |
|
63 /** The flag to show if generic matching is enabled */ |
|
64 TBool iGenericMatch; |
|
65 }; |
|
66 |
|
67 |
|
68 #include <ecom/ecomresolverparams.inl> |
|
69 |
|
70 #endif // __ECOMRESOLVERPARAMS_H__ |