equal
deleted
inserted
replaced
|
1 /* |
|
2 * Name : Proxy.cpp |
|
3 * Description : |
|
4 * Project : This file is part of OpenMAR, an Open Mobile Augmented Reality browser |
|
5 * Website : http://OpenMAR.org |
|
6 * |
|
7 * Copyright (c) 2010 David Caabeiro |
|
8 * |
|
9 * All rights reserved. This program and the accompanying materials are made available |
|
10 * under the terms of the Eclipse Public License v1.0 which accompanies this |
|
11 * distribution, and is available at http://www.eclipse.org/legal/epl-v10.html |
|
12 * |
|
13 */ |
|
14 |
|
15 #include <e32base.h> |
|
16 |
|
17 #include <ecom/implementationproxy.h> |
|
18 |
|
19 #include "ImplementationUid.hrh" |
|
20 #include "Overlay.h" |
|
21 #include "Provider.h" |
|
22 #include "Object.h" |
|
23 |
|
24 const TImplementationProxy ImplementationTable[] = |
|
25 { |
|
26 IMPLEMENTATION_PROXY_ENTRY(KOverlayImplementationUidValue, COverlay::NewL), |
|
27 IMPLEMENTATION_PROXY_ENTRY(KProviderImplementationUidValue, CProvider::NewL), |
|
28 IMPLEMENTATION_PROXY_ENTRY(KObjectImplementationUidValue, CLMXObject::NewL), |
|
29 }; |
|
30 |
|
31 // Function used to return an instance of the proxy table. |
|
32 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) |
|
33 { |
|
34 aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy); |
|
35 return ImplementationTable; |
|
36 } |