/** Provide methods to registry GUI objects with libascend so that they can be accessed from script methods there. */ #ifndef ASCXX_REGISTRY_H #define ASCXX_REGISTRY_H #include "config.h" #ifdef ASCXX_USE_PYTHON # include #endif #ifndef ASCXX_USE_PYTHON # error "WHERE IS PYTHON?" #endif class Registry{ public: void setInteger(const char *key, int value); #ifdef ASCXX_USE_PYTHON void setPyObject(const char *key, PyObject *obj); #endif }; #endif /* ASCXX_REGISTRY_H */