[Libreoffice-commits] core.git: unodevtools/source

Stephan Bergmann sbergman at redhat.com
Tue Apr 8 01:22:35 PDT 2014


 unodevtools/source/skeletonmaker/cpptypemaker.cxx  |   27 ---------------------
 unodevtools/source/skeletonmaker/javatypemaker.cxx |    8 ------
 unodevtools/source/skeletonmaker/skeletoncpp.hxx   |   26 ++++++++++++++++++++
 unodevtools/source/skeletonmaker/skeletonjava.hxx  |    4 +++
 unodevtools/source/unodevtools/options.cxx         |    1 
 5 files changed, 31 insertions(+), 35 deletions(-)

New commits:
commit 80ce87724919fc61cd8dc4b053d0d25d33619159
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Apr 8 10:22:01 2014 +0200

    Clean up function declarations
    
    Change-Id: I18125ac6c58c89f76c3a6cfb3a7ee77b1059aeb1

diff --git a/unodevtools/source/skeletonmaker/cpptypemaker.cxx b/unodevtools/source/skeletonmaker/cpptypemaker.cxx
index 44a044e..89adc8b 100644
--- a/unodevtools/source/skeletonmaker/cpptypemaker.cxx
+++ b/unodevtools/source/skeletonmaker/cpptypemaker.cxx
@@ -413,33 +413,6 @@ void printSetPropertyMixinBody(
     o  << "}\n\n";
 }
 
-void generateXPropertySetBodies(std::ostream& o,
-                                const OString & classname,
-                                const OString & interfaceName);
-void generateXFastPropertySetBodies(std::ostream& o,
-                                    const OString & classname,
-                                    const OString & interfaceName);
-void generateXPropertyAccessBodies(std::ostream& o,
-                                   const OString & classname,
-                                   const OString & interfaceName);
-
-void generateXAddInBodies(std::ostream& o, const OString & classname);
-
-void generateXLocalizable(std::ostream& o, const OString & classname);
-
-void generateXCompatibilityNamesBodies(std::ostream& o, const OString & classname);
-
-void generateXInitialization(std::ostream& o, const OString & classname);
-
-void generateXDispatch(std::ostream& o,
-                       const OString & classname,
-                       const ProtocolCmdMap & protocolCmdMap);
-
-void generateXDispatchProvider(std::ostream& o,
-                               const OString & classname,
-                               const ProtocolCmdMap & protocolCmdMap);
-
-
 void printMethods(std::ostream & o,
     ProgramOptions const & options, rtl::Reference< TypeManager > const & manager,
     OUString const & name, codemaker::GeneratedTypeSet & generated,
diff --git a/unodevtools/source/skeletonmaker/javatypemaker.cxx b/unodevtools/source/skeletonmaker/javatypemaker.cxx
index e959e0c..71764de 100644
--- a/unodevtools/source/skeletonmaker/javatypemaker.cxx
+++ b/unodevtools/source/skeletonmaker/javatypemaker.cxx
@@ -410,10 +410,6 @@ void printSetPropertyMixinBody(
     o  << indentation << "}\n\n";
 }
 
-void generateXPropertySetBodies(std::ostream& o);
-void generateXFastPropertySetBodies(std::ostream& o);
-void generateXPropertyAccessBodies(std::ostream& o);
-
 void printMethods(std::ostream & o,
     ProgramOptions const & options, rtl::Reference< TypeManager > const & manager,
     OUString const & name,
@@ -626,10 +622,6 @@ void printConstructors(
     }
 }
 
-void generateDocumentation(std::ostream & o,
-    ProgramOptions const & options, rtl::Reference< TypeManager > const & manager,
-    OString const & type);
-
 void printServiceMembers(
     std::ostream & o, ProgramOptions const & options,
     rtl::Reference< TypeManager > const & manager,
diff --git a/unodevtools/source/skeletonmaker/skeletoncpp.hxx b/unodevtools/source/skeletonmaker/skeletoncpp.hxx
index 7f923c4..d8c3f93 100644
--- a/unodevtools/source/skeletonmaker/skeletoncpp.hxx
+++ b/unodevtools/source/skeletonmaker/skeletoncpp.hxx
@@ -63,6 +63,32 @@ void generateCalcAddin(ProgramOptions const & options,
                        rtl::Reference< TypeManager > const & manager,
                        std::vector< OString > const & types);
 
+void generateXPropertySetBodies(std::ostream& o,
+                                const OString & classname,
+                                const OString & interfaceName);
+void generateXFastPropertySetBodies(std::ostream& o,
+                                    const OString & classname,
+                                    const OString & interfaceName);
+void generateXPropertyAccessBodies(std::ostream& o,
+                                   const OString & classname,
+                                   const OString & interfaceName);
+
+void generateXAddInBodies(std::ostream& o, const OString & classname);
+
+void generateXLocalizable(std::ostream& o, const OString & classname);
+
+void generateXCompatibilityNamesBodies(std::ostream& o, const OString & classname);
+
+void generateXInitialization(std::ostream& o, const OString & classname);
+
+void generateXDispatch(std::ostream& o,
+                       const OString & classname,
+                       const ProtocolCmdMap & protocolCmdMap);
+
+void generateXDispatchProvider(std::ostream& o,
+                               const OString & classname,
+                               const ProtocolCmdMap & protocolCmdMap);
+
 } }
 
 #endif // INCLUDED_UNODEVTOOLS_SOURCE_SKELETONMAKER_SKELETONCPP_HXX
diff --git a/unodevtools/source/skeletonmaker/skeletonjava.hxx b/unodevtools/source/skeletonmaker/skeletonjava.hxx
index 3a45911..4402fc1 100644
--- a/unodevtools/source/skeletonmaker/skeletonjava.hxx
+++ b/unodevtools/source/skeletonmaker/skeletonjava.hxx
@@ -48,6 +48,10 @@ void generateDocumentation(std::ostream & o,
 
 void generateSkeleton(ProgramOptions const & options, rtl::Reference< TypeManager > const & manager, std::vector< OString > const & types);
 
+void generateXPropertySetBodies(std::ostream& o);
+void generateXFastPropertySetBodies(std::ostream& o);
+void generateXPropertyAccessBodies(std::ostream& o);
+
 } }
 
 #endif // INCLUDED_UNODEVTOOLS_SOURCE_SKELETONMAKER_SKELETONJAVA_HXX
diff --git a/unodevtools/source/unodevtools/options.cxx b/unodevtools/source/unodevtools/options.cxx
index d9d4666..888e6f4 100644
--- a/unodevtools/source/unodevtools/options.cxx
+++ b/unodevtools/source/unodevtools/options.cxx
@@ -22,6 +22,7 @@
 #include "codemaker/global.hxx"
 #include "rtl/ustring.hxx"
 #include "rtl/process.h"
+#include "unodevtools/options.hxx"
 
 using namespace ::rtl;
 


More information about the Libreoffice-commits mailing list