summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-11-15 15:35:30 +0000
committerRüdiger Timm <rt@openoffice.org>2004-11-15 15:35:30 +0000
commita2a7e0fa5992c66cc0ce7a0cf388501df3571848 (patch)
tree9f2cf428653cf827e90373cbcd453f0c054d189c /basic
parent4379f536d993f3138cdc83dd587fffd8302a098a (diff)
INTEGRATION: CWS texteng03 (1.3.194); FILE MERGED
2004/10/29 13:02:53 ab 1.3.194.1: #111742# Enum support
Diffstat (limited to 'basic')
-rw-r--r--basic/source/inc/image.hxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/basic/source/inc/image.hxx b/basic/source/inc/image.hxx
index 803c38bb41bb..753d88cd0273 100644
--- a/basic/source/inc/image.hxx
+++ b/basic/source/inc/image.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: image.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: pjunck $ $Date: 2004-11-02 11:55:23 $
+ * last change: $Author: rt $ $Date: 2004-11-15 16:35:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -75,7 +75,8 @@ struct SbPublicEntry;
class SbiImage {
friend class SbiCodeGen; // Compiler-Klassen, die die private-
- SbxArrayRef rTypes; //
+ SbxArrayRef rTypes; // User defined types
+ SbxArrayRef rEnums; // Enum types
UINT16* pStringOff; // StringId-Offsets
sal_Unicode* pStrings; // StringPool
char* pCode; // Code-Image
@@ -94,6 +95,7 @@ class SbiImage {
void AddString( const String& );// String zufuegen
void AddCode( char*, USHORT ); // Codeblock dazu
void AddType(SbxObject *); // User-Type mit aufnehmen
+ void AddEnum(SbxObject *); // Register enum type
public:
String aName; // Makroname
@@ -117,6 +119,8 @@ public:
//const char* GetString( short nId ) const;
const SbxObject* FindType (String aTypeName) const;
+ SbxArrayRef GetEnums() { return rEnums; }
+
void SetFlag( USHORT n ) { nFlags |= n; }
USHORT GetFlag( USHORT n ) const { return nFlags & n; }
};