diff options
author | Juergen Schmidt <jsc@openoffice.org> | 2001-05-18 14:38:10 +0000 |
---|---|---|
committer | Juergen Schmidt <jsc@openoffice.org> | 2001-05-18 14:38:10 +0000 |
commit | 98bdf9d93d7713dd26362c1c329d2a4e06c18ef8 (patch) | |
tree | 077c4f55c0e9b3df19121321ba52d1a58841d85a /idlc/inc | |
parent | 9b873a1ca688f4f2303f5c000a531f89e8c9ec86 (diff) |
#87233# insert singleton
Diffstat (limited to 'idlc/inc')
-rw-r--r-- | idlc/inc/idlc/astdeclaration.hxx | 7 | ||||
-rw-r--r-- | idlc/inc/idlc/astservice.hxx | 8 | ||||
-rw-r--r-- | idlc/inc/idlc/idlctypes.hxx | 12 |
3 files changed, 20 insertions, 7 deletions
diff --git a/idlc/inc/idlc/astdeclaration.hxx b/idlc/inc/idlc/astdeclaration.hxx index 5f57c8c79..9a1b0b4ae 100644 --- a/idlc/inc/idlc/astdeclaration.hxx +++ b/idlc/inc/idlc/astdeclaration.hxx @@ -2,9 +2,9 @@ * * $RCSfile: astdeclaration.hxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: jsc $ $Date: 2001-03-15 12:23:01 $ + * last change: $Author: jsc $ $Date: 2001-05-18 15:33:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -101,7 +101,8 @@ enum NodeType NT_array, // Denotes an IDL array NT_sequence, // Denotes an IDL sequence NT_typedef, // Denotes a typedef - NT_predefined // Denotes a predefined type + NT_predefined, // Denotes a predefined type + NT_singleton // Denotes a singleton }; class AstDeclaration diff --git a/idlc/inc/idlc/astservice.hxx b/idlc/inc/idlc/astservice.hxx index dee7b4727..c2ec56d30 100644 --- a/idlc/inc/idlc/astservice.hxx +++ b/idlc/inc/idlc/astservice.hxx @@ -2,9 +2,9 @@ * * $RCSfile: astservice.hxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: jsc $ $Date: 2001-03-15 12:23:01 $ + * last change: $Author: jsc $ $Date: 2001-05-18 15:33:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -76,6 +76,10 @@ public: : AstDeclaration(NT_service, name, pScope) , AstScope(NT_service) {} + AstService(const NodeType type, const ::rtl::OString& name, AstScope* pScope) + : AstDeclaration(type, name, pScope) + , AstScope(type) + {} virtual ~AstService() {} virtual sal_Bool dump(RegistryKey& rKey, RegistryTypeWriterLoader* pLoader); diff --git a/idlc/inc/idlc/idlctypes.hxx b/idlc/inc/idlc/idlctypes.hxx index f9b817706..702a4be73 100644 --- a/idlc/inc/idlc/idlctypes.hxx +++ b/idlc/inc/idlc/idlctypes.hxx @@ -2,9 +2,9 @@ * * $RCSfile: idlctypes.hxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: jsc $ $Date: 2001-03-15 12:23:01 $ + * last change: $Author: jsc $ $Date: 2001-05-18 15:33:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -144,6 +144,7 @@ enum ParseState PS_ExceptionDeclSeen, // Seen complete exception declaration PS_InterfaceDeclSeen, // Seen complete interface declaration PS_ServiceDeclSeen, // Seen complete service declaration + PS_SingletonDeclSeen, // Seen complete singleton declaration PS_ModuleDeclSeen, // Seen complete module declaration PS_AttributeDeclSeen, // Seen complete attribute declaration PS_PropertyDeclSeen, // Seen complete property declaration @@ -159,6 +160,13 @@ enum ParseState PS_ServiceIFHeadSeen, // Seen an interface member header PS_ServiceSHeadSeen, // Seen an service member header + PS_SingletonSeen, // Seen a SINGLETON keyword + PS_SingletonIDSeen, // Seen the singleton ID + PS_SingletonSqSeen, // '{' seen for singleton + PS_SingletonQsSeen, // '}' seen for singleton + PS_SingletonBodySeen, // Seen complete singleton body + PS_SingletonMemberSeen, // Seen a singleton member + PS_ModuleSeen, // Seen a MODULE keyword PS_ModuleIDSeen, // Seen the module ID PS_ModuleSqSeen, // '{' seen for module |