forked from panda3d/panda3d
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathp3dCInstance.h
More file actions
50 lines (38 loc) · 965 Bytes
/
p3dCInstance.h
File metadata and controls
50 lines (38 loc) · 965 Bytes
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
41
42
43
44
45
46
47
48
49
50
/**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file p3dCInstance.h
* @author drose
* @date 2009-06-08
*/
#ifndef P3DCINSTANCE_H
#define P3DCINSTANCE_H
#include "pandabase.h"
#include "p3d_plugin.h"
#include "pvector.h"
#include "get_tinyxml.h"
#include "windowHandle.h"
class P3DSession;
/**
* This is an instance of a Panda3D window, as seen in the child-level
* process.
*/
class P3DCInstance : public P3D_instance {
public:
P3DCInstance(TiXmlElement *xinstance);
~P3DCInstance();
inline int get_instance_id() const;
public:
PT(WindowHandle) _parent_window_handle;
private:
P3D_request_ready_func *_func;
int _instance_id;
friend class P3DPythonRun;
};
#include "p3dCInstance.I"
#endif