Kaydet (Commit) 6f888416 authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS sb20 (1.3.18); FILE MERGED

2004/07/08 09:14:43 sb 1.3.18.1: #i29741# Allow for single-interface--based services that have neither explicit nor implicit constructors.
üst 79f7dee6
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: astservice.hxx,v $ * $RCSfile: astservice.hxx,v $
* *
* $Revision: 1.3 $ * $Revision: 1.4 $
* *
* last change: $Author: rt $ $Date: 2004-03-30 16:42:04 $ * last change: $Author: rt $ $Date: 2004-07-23 14:42:32 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -75,14 +75,21 @@ public: ...@@ -75,14 +75,21 @@ public:
AstService(const ::rtl::OString& name, AstScope* pScope) AstService(const ::rtl::OString& name, AstScope* pScope)
: AstDeclaration(NT_service, name, pScope) : AstDeclaration(NT_service, name, pScope)
, AstScope(NT_service) , AstScope(NT_service)
, m_defaultConstructor(false)
{} {}
AstService(const NodeType type, const ::rtl::OString& name, AstScope* pScope) AstService(const NodeType type, const ::rtl::OString& name, AstScope* pScope)
: AstDeclaration(type, name, pScope) : AstDeclaration(type, name, pScope)
, AstScope(type) , AstScope(type)
, m_defaultConstructor(false)
{} {}
virtual ~AstService() {} virtual ~AstService() {}
virtual sal_Bool dump(RegistryKey& rKey); virtual sal_Bool dump(RegistryKey& rKey);
void setDefaultConstructor(bool b) { m_defaultConstructor = b; }
private:
bool m_defaultConstructor;
}; };
#endif // _IDLC_ASTSERVICE_HXX_ #endif // _IDLC_ASTSERVICE_HXX_
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment