bump product version to 6.3.0.0.beta1
[LibreOffice.git] / include / svtools / foldertree.hxx
blobf62cc71be6f3da533a3c99d96c99f22ae0bdebad
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #ifndef INCLUDED_SVTOOLS_FOLDERTREE_HXX
11 #define INCLUDED_SVTOOLS_FOLDERTREE_HXX
13 #include <com/sun/star/uno/Sequence.hxx>
15 #include <svtools/svtdllapi.h>
17 #include <tools/wintypes.hxx>
18 #include <vcl/treelistbox.hxx>
20 namespace com :: sun :: star :: ucb { class XCommandEnvironment; }
22 class SvTreeListEntry;
24 using namespace ::com::sun::star::ucb;
25 using namespace ::com::sun::star::uno;
26 using namespace ::svt;
28 class SVT_DLLPUBLIC FolderTree : public SvTreeListBox
30 private:
31 Reference< XCommandEnvironment > m_xEnv;
32 ::osl::Mutex m_aMutex;
33 Sequence< OUString > m_aBlackList;
35 OUString m_sLastUpdatedDir;
37 public:
38 FolderTree( vcl::Window* pParent, WinBits nBits );
40 virtual void RequestingChildren( SvTreeListEntry* pEntry ) override;
42 void FillTreeEntry( SvTreeListEntry* pEntry );
43 void FillTreeEntry( const OUString & rUrl, const ::std::vector< std::pair< OUString, OUString > >& rFolders );
44 void SetTreePath( OUString const & sUrl );
45 void SetBlackList( const css::uno::Sequence< OUString >& rBlackList );
48 #endif
50 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */