equal
deleted
inserted
replaced
|
1 /* |
|
2 * Name : Object.h |
|
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 #ifndef OBJECT_H_ |
|
16 #define OBJECT_H_ |
|
17 |
|
18 #include "POIObject.h" |
|
19 |
|
20 namespace Geonames { |
|
21 |
|
22 /** |
|
23 * @brief Implements basic rendering for geonames.org landmarks |
|
24 */ |
|
25 class CObject : public OpenMAR::CPOIObject |
|
26 { |
|
27 public: |
|
28 static CObject* NewL(OpenMAR::CPOIProvider* aProvider); |
|
29 ~CObject(); |
|
30 |
|
31 protected: |
|
32 CObject(OpenMAR::CPOIProvider* aProvider); |
|
33 void ConstructL(); |
|
34 |
|
35 public: |
|
36 void Render() const; |
|
37 |
|
38 private: |
|
39 TUint iTextureId; |
|
40 }; |
|
41 |
|
42 } |
|
43 |
|
44 #endif |