mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 11:39:49 -06:00
- Moved all OpenSpace headers to separate include directory - Added OpenSpaceTests binary with OPENSPACE_HAVE_TESTS define - Added CMake setting of BASE_DIR - Added OpenSpace initial tests for SceneGraph and SceneGraphNodes - Added OpenSpace initial tests for psc and pss - Restructured OpenSpace so no GL functions are called in constructors to make the classes testable - Todo: Make the base dir possible to set through command line argument and configuration file
35 lines
677 B
C
35 lines
677 B
C
//#ifndef PYTHONEXTERNALCONTROL_H
|
|
//#define PYTHONEXTERNALCONTROL_H
|
|
//
|
|
//#include <thread>
|
|
//#include <mutex>
|
|
//
|
|
//#include "externalcontrol/externalcontrol.h"
|
|
//#include "python/pythonscript.h"
|
|
//
|
|
//namespace openspace {
|
|
//
|
|
//class PythonExternalControl: public ExternalControl {
|
|
//public:
|
|
//
|
|
// // constructors & destructor
|
|
// PythonExternalControl(const char *filename);
|
|
// ~PythonExternalControl();
|
|
//
|
|
// static PyMethodDef* getMethodDef();
|
|
//
|
|
// void message(const char *text);
|
|
// virtual void update();
|
|
// void clear();
|
|
//private:
|
|
// PythonScript ps_;
|
|
//
|
|
//protected:
|
|
// void run();
|
|
// int pyarrSize_;
|
|
// PyObject **pyarr_;
|
|
//};
|
|
//
|
|
//} // namespace openspace
|
|
//
|
|
//#endif
|