|
1 /* |
|
2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: A stub implementation of an interface for raising Mediator Service events. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include <e32base.h> |
|
21 #include "MediatorEventProvider.h" |
|
22 #include "MediatorEventProviderBody.h" |
|
23 #include "Debug.h" |
|
24 |
|
25 |
|
26 // ============================ MEMBER FUNCTIONS =============================== |
|
27 // ----------------------------------------------------------------------------- |
|
28 // CMediatorEventProvider::CMediatorEventProvider |
|
29 // ----------------------------------------------------------------------------- |
|
30 // |
|
31 CMediatorEventProvider::CMediatorEventProvider() |
|
32 { |
|
33 } |
|
34 |
|
35 // ----------------------------------------------------------------------------- |
|
36 // CMediatorEventProvider::ConstructL |
|
37 // ----------------------------------------------------------------------------- |
|
38 // |
|
39 void CMediatorEventProvider::ConstructL() |
|
40 { |
|
41 } |
|
42 |
|
43 // ----------------------------------------------------------------------------- |
|
44 // CMediatorEventProvider::NewL |
|
45 // ----------------------------------------------------------------------------- |
|
46 // |
|
47 EXPORT_C CMediatorEventProvider* CMediatorEventProvider::NewL() |
|
48 { |
|
49 CMediatorEventProvider* self = new( ELeave ) CMediatorEventProvider; |
|
50 CleanupStack::PushL( self ); |
|
51 self->ConstructL(); |
|
52 CleanupStack::Pop( self ); |
|
53 return self; |
|
54 } |
|
55 |
|
56 // ----------------------------------------------------------------------------- |
|
57 // CMediatorEventProvider::~CMediatorEventProvider |
|
58 // ----------------------------------------------------------------------------- |
|
59 // |
|
60 CMediatorEventProvider::~CMediatorEventProvider() |
|
61 { |
|
62 } |
|
63 |
|
64 // ----------------------------------------------------------------------------- |
|
65 // CMediatorEventProvider::RegisterEvent |
|
66 // ----------------------------------------------------------------------------- |
|
67 // |
|
68 EXPORT_C TInt CMediatorEventProvider::RegisterEvent( TUid /*aDomain*/, |
|
69 TUid /*aCategory*/, |
|
70 const REventList& /*aEvents*/ ) |
|
71 { |
|
72 return KErrNotSupported; |
|
73 } |
|
74 |
|
75 // ----------------------------------------------------------------------------- |
|
76 // CMediatorEventProvider::RegisterEvent |
|
77 // ----------------------------------------------------------------------------- |
|
78 // |
|
79 EXPORT_C TInt CMediatorEventProvider::RegisterEvent( TUid /*aDomain*/, |
|
80 TUid /*aCategory*/, |
|
81 TInt /*aEventId*/, |
|
82 TVersion /*aVersion*/, |
|
83 TCapabilitySet /*aCaps*/ ) |
|
84 { |
|
85 return KErrNotSupported; |
|
86 } |
|
87 |
|
88 // ----------------------------------------------------------------------------- |
|
89 // CMediatorEventProvider::UnregisterEvent |
|
90 // ----------------------------------------------------------------------------- |
|
91 // |
|
92 EXPORT_C TInt CMediatorEventProvider::UnregisterEvent( TUid /*aDomain*/, |
|
93 TUid /*aCategory*/, |
|
94 const REventList& /*aEvents*/ ) |
|
95 { |
|
96 return KErrNotSupported; |
|
97 } |
|
98 |
|
99 // ----------------------------------------------------------------------------- |
|
100 // CMediatorEventProvider::UnregisterEvent |
|
101 // ----------------------------------------------------------------------------- |
|
102 // |
|
103 EXPORT_C TInt CMediatorEventProvider::UnregisterEvent( TUid /*aDomain*/, |
|
104 TUid /*aCategory*/, |
|
105 TInt /*aEventId*/ ) |
|
106 { |
|
107 return KErrNotSupported; |
|
108 } |
|
109 |
|
110 // ----------------------------------------------------------------------------- |
|
111 // CMediatorEventProvider::RaiseEvent |
|
112 // ----------------------------------------------------------------------------- |
|
113 // |
|
114 EXPORT_C TInt CMediatorEventProvider::RaiseEvent( TUid /*aDomain*/, |
|
115 TUid /*aCategory*/, |
|
116 TInt /*aEventId*/, |
|
117 TVersion /*aVersion*/, |
|
118 const TDesC8& /*aData*/ ) |
|
119 { |
|
120 return KErrNotSupported; |
|
121 } |