summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-03-30 15:41:14 +0000
committerRüdiger Timm <rt@openoffice.org>2004-03-30 15:41:14 +0000
commit5f53782b9c41fc62dcb3ffb04fec1efd5256e0ce (patch)
treef23b79f79af7b03480d65074edaccc1e90a295ca /idlc
parent8505d9405209d6b358c2d79929ddb71a1262dd12 (diff)
INTEGRATION: CWS sb14 (1.1.96); FILE MERGED
2004/03/15 09:53:53 sb 1.1.96.3: #i21150# Adapted to new extensible type writer interface; added support for bound interface attributes. 2004/03/12 14:30:28 sb 1.1.96.2: #i21150# Added support for extended attributes (still need to fix TODO in AstAttribute::dumpBlob. 2004/03/05 08:35:16 sb 1.1.96.1: #i21150# Support for rest parameters; clean up.
Diffstat (limited to 'idlc')
-rw-r--r--idlc/inc/idlc/astoperation.hxx16
1 files changed, 10 insertions, 6 deletions
diff --git a/idlc/inc/idlc/astoperation.hxx b/idlc/inc/idlc/astoperation.hxx
index ea3e52f7fc15..ef831a77edf4 100644
--- a/idlc/inc/idlc/astoperation.hxx
+++ b/idlc/inc/idlc/astoperation.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: astoperation.hxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: jsc $ $Date: 2001-03-15 12:23:01 $
+ * last change: $Author: rt $ $Date: 2004-03-30 16:41:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -68,6 +68,8 @@
#include <idlc/astscope.hxx>
#endif
+namespace typereg { class Writer; }
+
#define OP_NONE 0x0000
#define OP_ONEWAY 0x0001
@@ -88,16 +90,18 @@ public:
sal_Bool isOneway()
{ return ((m_flags & OP_ONEWAY) == OP_ONEWAY); }
sal_Bool isVoid();
- AstType* getReturnType()
- { return m_pReturnType; }
- void addExceptions(StringList* pExceptions);
+ bool isVariadic() const;
+
+ bool isConstructor() const { return m_pReturnType == 0; }
+
+ void setExceptions(DeclList const * pExceptions);
const DeclList& getExceptions()
{ return m_exceptions; }
sal_uInt16 nExceptions()
{ return m_exceptions.size(); }
- sal_Bool dumpBlob(RegistryTypeWriter& rBlob, sal_uInt16 index);
+ sal_Bool dumpBlob(typereg::Writer & rBlob, sal_uInt16 index);
// scope management
virtual AstDeclaration* addDeclaration(AstDeclaration* pDecl);