diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-11 15:41:48 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-12 09:13:43 +0200 |
commit | f3f533f0c60d90fb723ecf417ce3a20bc38fa6c7 (patch) | |
tree | 739ba2608f0c53c2b121384a9c55a2584a466638 /idl/inc | |
parent | e60296840bf9da3f61a3cce02e1369e4315354b3 (diff) |
move module parsing into SvIdlParser class
Change-Id: I99937935a1d41fa5b0ff6c2f5e92bde3b4847e9f
Diffstat (limited to 'idl/inc')
-rw-r--r-- | idl/inc/module.hxx | 12 | ||||
-rw-r--r-- | idl/inc/parser.hxx | 6 |
2 files changed, 6 insertions, 12 deletions
diff --git a/idl/inc/module.hxx b/idl/inc/module.hxx index ce5f8db0f236..6ac8fcd07acf 100644 --- a/idl/inc/module.hxx +++ b/idl/inc/module.hxx @@ -25,22 +25,14 @@ class SvMetaModule : public SvMetaReference { - SvRefMemberList<SvMetaClass *> aClassList; -// browser - OString aSlotIdFile; - - bool bImported : 1; -protected: - virtual void ReadAttributesSvIdl( SvIdlDataBase &, SvTokenStream & rInStm ) override; - virtual void ReadContextSvIdl( SvIdlDataBase &, SvTokenStream & rInStm ) override; + bool bImported; public: + SvRefMemberList<SvMetaClass *> aClassList; SvMetaModule( bool bImported ); bool IsImported() const { return bImported; } - virtual bool ReadSvIdl( SvIdlDataBase &, SvTokenStream & rInStm ) override; - void WriteSfx( SvIdlDataBase & rBase, SvStream & rOutStm ); }; diff --git a/idl/inc/parser.hxx b/idl/inc/parser.hxx index 97cb3d50d29d..b1f9a67b4956 100644 --- a/idl/inc/parser.hxx +++ b/idl/inc/parser.hxx @@ -24,6 +24,7 @@ class SvTokenStream; class SvIdlDataBase; +class SvMetaModule; class SvIdlParser { @@ -32,8 +33,9 @@ class SvIdlParser public: SvIdlParser( SvIdlDataBase& rBase_, SvTokenStream & rInStrm_) : rBase(rBase_), rInStm(rInStrm_) {} bool ReadSvIdl( bool bImported, const OUString & rPath ); - bool ReadModuleImport(const OUString & rPath); - + bool ReadModuleHeader(SvMetaModule& rModule); + bool ReadModuleBody(SvMetaModule& rModule); + void ReadModuleElement( SvMetaModule& rModule ); }; #endif // INCLUDED_IDL_INC_PARSER_HXX |