PythonInit.h 334 B

123456789101112131415161718192021222324
  1. #ifndef PYTHON_PYTHON_INIT_H
  2. #define PYTHON_PYTHON_INIT_H
  3. #include <boost/noncopyable.hpp>
  4. namespace Egametang {
  5. class PythonInit: private boost::noncopyable
  6. {
  7. public:
  8. PythonInit();
  9. ~PythonInit();
  10. bool IsInitialized();
  11. const char* Version();
  12. void PrintError();
  13. };
  14. } // namespace Egametang
  15. #endif // PYTHON_PYTHON_INIT_H