diff options
Diffstat (limited to 'cpp/src/slice2javae/Gen.h')
-rw-r--r-- | cpp/src/slice2javae/Gen.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/cpp/src/slice2javae/Gen.h b/cpp/src/slice2javae/Gen.h index 13a4b026204..ab945bed3c3 100644 --- a/cpp/src/slice2javae/Gen.h +++ b/cpp/src/slice2javae/Gen.h @@ -16,6 +16,13 @@ namespace Slice { +class JavaEOutput : public JavaOutput +{ +public: + + virtual void printHeader(); +}; + class JavaVisitor : public JavaGenerator, public ParserVisitor { public: @@ -26,6 +33,8 @@ protected: JavaVisitor(const std::string&); + virtual JavaOutput* createOutput(); + // // Compose the parameter lists for an operation. // @@ -50,8 +59,7 @@ protected: // // Generate code to compute a hash code for a type. // - void writeHashCode(::IceUtil::Output&, const TypePtr&, const std::string&, int&, - const std::list<std::string>& = std::list<std::string>()); + void writeHashCode(::IceUtil::Output&, const TypePtr&, const std::string&, int&); // // Generate dispatch methods for a class or interface. |