1 // This file has been generated by Py++. 2 3 #include "boost/python.hpp" 4 #include "generators/include/python_CEGUI.h" 5 #include "SingletonWindowFactoryManager.pypp.hpp" 6 7 namespace bp = boost::python; 8 register_SingletonWindowFactoryManager_class()9void register_SingletonWindowFactoryManager_class(){ 10 11 { //::CEGUI::Singleton< CEGUI::WindowFactoryManager > 12 typedef bp::class_< CEGUI::Singleton< CEGUI::WindowFactoryManager >, boost::noncopyable > SingletonWindowFactoryManager_exposer_t; 13 SingletonWindowFactoryManager_exposer_t SingletonWindowFactoryManager_exposer = SingletonWindowFactoryManager_exposer_t( "SingletonWindowFactoryManager", bp::init< >() ); 14 bp::scope SingletonWindowFactoryManager_scope( SingletonWindowFactoryManager_exposer ); 15 { //::CEGUI::Singleton< CEGUI::WindowFactoryManager >::getSingleton 16 17 typedef CEGUI::Singleton< CEGUI::WindowFactoryManager > exported_class_t; 18 typedef ::CEGUI::WindowFactoryManager & ( *getSingleton_function_type )( ); 19 20 SingletonWindowFactoryManager_exposer.def( 21 "getSingleton" 22 , getSingleton_function_type( &::CEGUI::Singleton< CEGUI::WindowFactoryManager >::getSingleton ) 23 , bp::return_value_policy< bp::reference_existing_object >() ); 24 25 } 26 SingletonWindowFactoryManager_exposer.staticmethod( "getSingleton" ); 27 } 28 29 } 30