blob: 088c5d24d4cc577f31c58c99fb7e6d8c31faafc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#ifndef CONFIGMGR_TREELOAD_HXX
#define CONFIGMGR_TREELOAD_HXX
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#ifndef _CONFIGMGR_LOCAL_LOCAL_HXX_
#include <localsession.hxx>
#endif
#ifndef _CONFIGMGR_TREECACHE_HXX_
#include <treecache.hxx>
#endif
#include <options.hxx>
#include <rtl/ustring.hxx>
// -----------------------------------------------------------------------------
namespace configmgr
{
namespace uno = ::com::sun::star::uno;
namespace lang = ::com::sun::star::lang;
// -----------------------------------------------------------------------------
class OTreeLoad
{
// LocalSession* m_pLocalSession; // in TreeMgr
TreeManager* m_pTreeMgr;
::vos::ORef<OOptions> m_xDefaultOptions;
uno::Reference<lang::XMultiServiceFactory> m_xServiceProvider;
public:
OTreeLoad(uno::Reference<lang::XMultiServiceFactory> const& _xServiceProvider,
rtl::OUString const& _sSourceDirectory, rtl::OUString const& _sUpdateDirectory);
ISubtree* requestSubtree(rtl::OUString const& aSubtreePath);
void releaseSubtree(rtl::OUString const& aSubtreePath);
};
} // namespace
#endif
|