Added some build rules for miniswig and the wrapper file
authorgrumbel <grumbel@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Sat, 21 Nov 2009 14:33:59 +0000 (14:33 +0000)
committergrumbel <grumbel@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Sat, 21 Nov 2009 14:33:59 +0000 (14:33 +0000)
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6078 837edb03-e0f3-0310-88ca-d4d4e8b29345

tools/miniswig/create_docu.hpp

index 0345de4..d5c60dc 100644 (file)
@@ -11,16 +11,20 @@ public:
     std::ostream& out;
     XmlWriter writer;
 
-    DocuCreator(std::ostream& _out = std::cout)
-        : out(_out), writer(out)
-    {
-        ind = "  ";
-    }
+    DocuCreator(std::ostream& _out = std::cout) :
+        ind("  "),
+        out(_out), 
+        writer(out)
+    }
 
     void create_docu(Namespace* ns);
     void create_class_docu(Class* _class);
     void create_function_docu(Class* _class, Function* function);
     std::string get_type(const Type& type);
+
+private:
+    DocuCreator(const DocuCreator&);
+    DocuCreator& operator=(const DocuCreator&);
 };
 
 #endif