forked from coronalabs/corona
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRtt_PlatformObjectWrapper.h
40 lines (28 loc) · 1.09 KB
/
Rtt_PlatformObjectWrapper.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//////////////////////////////////////////////////////////////////////////////
//
// This file is part of the Corona game engine.
// For overview and more information on licensing please refer to README.md
// Home page: https://github.com/coronalabs/corona
// Contact: [email protected]
//
//////////////////////////////////////////////////////////////////////////////
#ifndef _Rtt_PlatformObjectWrapper_H__
#define _Rtt_PlatformObjectWrapper_H__
// ----------------------------------------------------------------------------
namespace Rtt
{
// ----------------------------------------------------------------------------
// Base class for creating classes that wrap platform-specific ObjectWrappers,
// e.g. strings, dictionaries, etc.
class PlatformObjectWrapper
{
public:
virtual ~PlatformObjectWrapper();
public:
virtual void* PlatformObject() const = 0;
private:
};
// ----------------------------------------------------------------------------
} // namespace Rtt
// ----------------------------------------------------------------------------
#endif // _Rtt_PlatformObjectWrapper_H__