ultimatepp/bazaar/BoostPyTest/BoostPyTest.h
kohait 1b334d9d1d bazaar: BoostPyTest: convenience restructure, prepare compile MSC10
git-svn-id: svn://ultimatepp.org/upp/trunk@4099 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-10-24 19:41:16 +00:00

38 lines
662 B
C++

#ifndef _BoostPyTest_BoostPyTest_h_
#define _BoostPyTest_BoostPyTest_h_
//py stuff needs go first
#include "PyEx.h"
#include <CtrlLib/CtrlLib.h>
using namespace Upp;
#define LAYOUTFILE <BoostPyTest/BoostPyTest.lay>
#include <CtrlCore/lay.h>
class BoostPyTest : public WithBoostPyTestLayout<TopWindow> {
public:
typedef BoostPyTest CLASSNAME;
BoostPyTest();
~BoostPyTest();
void InitPyEnv();
void ExitHandler();
void CBi(int i);
void EvalCB();
void EvalPyCv();
boost::python::object main_namespace;
#if PUREVIRTEST
#else
World w;
#endif
Progress pr;
Callback1<int> cbi;
PyEvalConvert pycv;
};
#endif