1 |
/** |
/** |
2 |
Provide methods to registry GUI objects with libascend |
@file |
3 |
so that they can be accessed from script methods there. |
This head files provides SWIGed access to the importhandler 'shared pointer' |
4 |
|
mechanism used to pass data from 'extpy' to 'ascpy' in particular (and |
5 |
|
hopefully between other scripting languages/GUI combinations in future) |
6 |
*/ |
*/ |
7 |
|
|
8 |
#ifndef ASCXX_REGISTRY_H |
#ifndef ASCXX_REGISTRY_H |
14 |
# include <Python.h> |
# include <Python.h> |
15 |
#endif |
#endif |
16 |
|
|
17 |
|
/* |
18 |
|
extern "C"{ |
19 |
|
#ifdef ASCXX_USE_PYTHON |
20 |
|
ASC_IMPORT(void *) importhandler_getsharedpointer(const char *); |
21 |
|
#endif |
22 |
|
} |
23 |
|
*/ |
24 |
|
|
25 |
#include "instance.h" |
#include "instance.h" |
26 |
|
|
27 |
class Registry{ |
class Registry{ |