update dev300-m58
[ooovba.git] / configmgr / workben / memory / treeload.hxx
blob7889bd80f0d3c043b61bd1fb3bc202e1f94e08a9
1 #ifndef CONFIGMGR_TREELOAD_HXX
2 #define CONFIGMGR_TREELOAD_HXX
4 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
6 #ifndef _CONFIGMGR_LOCAL_LOCAL_HXX_
7 #include <localsession.hxx>
8 #endif
10 #ifndef _CONFIGMGR_TREECACHE_HXX_
11 #include <treecache.hxx>
12 #endif
13 #include <options.hxx>
14 #include <rtl/ustring.hxx>
16 // -----------------------------------------------------------------------------
17 namespace configmgr
19 namespace uno = ::com::sun::star::uno;
20 namespace lang = ::com::sun::star::lang;
22 // -----------------------------------------------------------------------------
23 class OTreeLoad
25 // LocalSession* m_pLocalSession; // in TreeMgr
26 TreeManager* m_pTreeMgr;
27 ::vos::ORef<OOptions> m_xDefaultOptions;
28 uno::Reference<lang::XMultiServiceFactory> m_xServiceProvider;
30 public:
32 OTreeLoad(uno::Reference<lang::XMultiServiceFactory> const& _xServiceProvider,
33 rtl::OUString const& _sSourceDirectory, rtl::OUString const& _sUpdateDirectory);
35 ISubtree* requestSubtree(rtl::OUString const& aSubtreePath);
36 void releaseSubtree(rtl::OUString const& aSubtreePath);
39 } // namespace
41 #endif