diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-06-03 14:06:36 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-06-03 14:06:36 +0000 |
commit | da8cd037cc4ddec6d6cfb7040e76e95cd926c8ce (patch) | |
tree | 35c2f2aefddca8121405e86647350c2913cc6a68 /idlc/inc | |
parent | 69f45fac9f1790dc42fba0f7fc5b324bafc6334a (diff) |
INTEGRATION: CWS sb18 (1.2.4); FILE MERGED
2004/04/08 14:37:15 sb 1.2.4.1: #i21150# Fixed UNOIDL typedef support; initial support for polymorphic struct types.
Diffstat (limited to 'idlc/inc')
-rw-r--r-- | idlc/inc/idlc/inheritedinterface.hxx | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/idlc/inc/idlc/inheritedinterface.hxx b/idlc/inc/idlc/inheritedinterface.hxx index 09b99b914dba..07fd0086b410 100644 --- a/idlc/inc/idlc/inheritedinterface.hxx +++ b/idlc/inc/idlc/inheritedinterface.hxx @@ -2,9 +2,9 @@ * * $RCSfile: inheritedinterface.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: rt $ $Date: 2004-03-30 16:43:56 $ + * last change: $Author: obo $ $Date: 2004-06-03 15:06:36 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -62,26 +62,32 @@ #ifndef INCLUDED_idlc_inc_idlc_inheritedinterface_hxx #define INCLUDED_idlc_inc_idlc_inheritedinterface_hxx +#include "idlc/idlc.hxx" + #include "rtl/ustring.hxx" class AstInterface; +class AstType; class InheritedInterface { public: InheritedInterface( - AstInterface const * theInterface, bool theOptional, + AstType const * theInterface, bool theOptional, rtl::OUString const & theDocumentation): interface(theInterface), optional(theOptional), documentation(theDocumentation) {} - AstInterface const * getInterface() const { return interface; } + AstType const * getInterface() const { return interface; } + + AstInterface const * getResolved() const + { return resolveInterfaceTypedefs(interface); } bool isOptional() const { return optional; } rtl::OUString getDocumentation() const { return documentation; } private: - AstInterface const * interface; + AstType const * interface; bool optional; rtl::OUString documentation; }; |