[Uml-devel] kdesdk/umbrello/umbrello

Jonathan Riddell jri at jriddell.org
Thu Feb 27 08:54:06 UTC 2003


CVS commit by jriddell: 

Added IDL code generator from Oliver Kellogg


  A            codegenerators/idlwriter.cpp   1.1
  A            codegenerators/idlwriter.h   1.1
  A            headings/heading.idl   1.1
  M +1 -1      codegenerators/Makefile.am   1.11
  M +7 -1      codegenerators/factory.cpp   1.5
  M +1 -1      headings/Makefile.am   1.5


--- kdesdk/umbrello/umbrello/codegenerators/Makefile.am  #1.10:1.11
@@ -7,5 +7,5 @@
 libcodegenerator_la_SOURCES = phpwriter.cpp javawriter.cpp factory.cpp \
                               cppwriter.cpp adawriter.cpp perlwriter.cpp \
-                              pythonwriter.cpp
+                              pythonwriter.cpp idlwriter.cpp
 
 install-data-local:

--- kdesdk/umbrello/umbrello/codegenerators/factory.cpp  #1.4:1.5
@@ -18,10 +18,11 @@
 
 #include "../codegenerator.h"
+#include "adawriter.h"
 #include "cppwriter.h"
+#include "idlwriter.h"
 #include "javawriter.h"
 #include "phpwriter.h"
 #include "perlwriter.h"
 #include "pythonwriter.h"
-#include "adawriter.h"
 #include "qstringlist.h"
 
@@ -44,4 +45,5 @@ QStringList WriterFactory::languagesAvai
         l.append("Ada");
         l.append("Cpp");
+        l.append("IDL");
         l.append("Java");
         l.append("Perl");
@@ -55,4 +57,6 @@ QString WriterFactory::generatorName(con
         if(l=="Cpp")
                 return "CppWriter";
+        if(l=="IDL")
+                return "IDLWriter";
         if(l=="Java")
                 return "JavaWriter";
@@ -79,4 +83,6 @@ QObject* WriterFactory::createObject( QO
         if(n == "CppWriter") {
                 obj = new CppWriter( parent, name );
+        } else if(n == "IDLWriter") {
+                obj = new IDLWriter( parent, name );
         } else if(n =="JavaWriter") {
                 obj = new JavaWriter(parent, name);

--- kdesdk/umbrello/umbrello/headings/Makefile.am  #1.4:1.5
@@ -1,2 +1,2 @@
 mydir = $(kde_datadir)/umbrello/headings
-my_DATA = heading.java heading.h heading.php heading.cpp heading.pm heading.py
+my_DATA = heading.java heading.h heading.php heading.cpp heading.pm heading.py heading.idl






More information about the umbrello-devel mailing list