more work on worldmap switching
[supertux.git] / tools / miniswig / create_wrapper.hpp
index 97c14df..ec98429 100644 (file)
@@ -19,8 +19,25 @@ public:
     }
 
     void create_wrapper(Namespace* ns);
+
+private:
+    std::string ns_prefix;
+    
+    void create_register_functions_code(Namespace* ns);
+    void create_register_function_code(Function* function, Class* _class);
+    void create_register_classes_code(Namespace* ns);
+    void create_register_class_code(Class* _class);
+    void create_register_constant_code(Field* field);
+    void create_register_constants_code(Namespace* ns);
+    void create_register_slot_code(const std::string& what,
+                                   const std::string& name);
+    
+    void create_function_list(Namespace* ns);
+    void create_const_lists(Namespace* ns);
+    void create_class_const_lists(Class* _class);
     void create_class_wrapper(Class* _class);
     void create_class_release_hook(Class* _class);
+    void create_squirrel_instance(Class* _class);
     void create_function_wrapper(Class* _class, Function* function);
     void prepare_argument(const Type& type, size_t idx, const std::string& var);
     void push_to_stack(const Type& type, const std::string& var);