Branch data Line data Source code
1 : : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : : /*************************************************************************
3 : : *
4 : : * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 : : *
6 : : * Copyright 2000, 2010 Oracle and/or its affiliates.
7 : : *
8 : : * OpenOffice.org - a multi-platform office productivity suite
9 : : *
10 : : * This file is part of OpenOffice.org.
11 : : *
12 : : * OpenOffice.org is free software: you can redistribute it and/or modify
13 : : * it under the terms of the GNU Lesser General Public License version 3
14 : : * only, as published by the Free Software Foundation.
15 : : *
16 : : * OpenOffice.org is distributed in the hope that it will be useful,
17 : : * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 : : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 : : * GNU Lesser General Public License version 3 for more details
20 : : * (a copy is included in the LICENSE file that accompanied this code).
21 : : *
22 : : * You should have received a copy of the GNU Lesser General Public License
23 : : * version 3 along with OpenOffice.org. If not, see
24 : : * <http://www.openoffice.org/license.html>
25 : : * for a copy of the LGPLv3 License.
26 : : *
27 : : ************************************************************************/
28 : :
29 : : #ifndef _SALGTKFOLDERPICKER_HXX_
30 : : #define _SALGTKFOLDERPICKER_HXX_
31 : :
32 : : #include <list>
33 : : #include <memory>
34 : : #include <rtl/ustring.hxx>
35 : : #include <cppuhelper/implbase3.hxx>
36 : :
37 : : #include "gtk/fpicker/SalGtkPicker.hxx"
38 : :
39 : 0 : class SalGtkFolderPicker :
40 : : public SalGtkPicker,
41 : : public cppu::WeakImplHelper2<
42 : : ::com::sun::star::ui::dialogs::XFolderPicker,
43 : : ::com::sun::star::util::XCancellable >
44 : : {
45 : : public:
46 : :
47 : : // constructor
48 : : SalGtkFolderPicker( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xServiceMgr );
49 : :
50 : : //------------------------------------------------------------------------------------
51 : : // XExecutableDialog functions
52 : : //------------------------------------------------------------------------------------
53 : :
54 : : virtual void SAL_CALL setTitle( const ::rtl::OUString& aTitle )
55 : : throw( ::com::sun::star::uno::RuntimeException );
56 : :
57 : : virtual sal_Int16 SAL_CALL execute( )
58 : : throw( ::com::sun::star::uno::RuntimeException );
59 : :
60 : : //------------------------------------------------------------------------------------
61 : : // XFolderPicker functions
62 : : //------------------------------------------------------------------------------------
63 : :
64 : : virtual void SAL_CALL setDisplayDirectory( const rtl::OUString& rDirectory )
65 : : throw( com::sun::star::lang::IllegalArgumentException, com::sun::star::uno::RuntimeException );
66 : :
67 : : virtual rtl::OUString SAL_CALL getDisplayDirectory( )
68 : : throw( com::sun::star::uno::RuntimeException );
69 : :
70 : : virtual rtl::OUString SAL_CALL getDirectory( )
71 : : throw( com::sun::star::uno::RuntimeException );
72 : :
73 : : virtual void SAL_CALL setDescription( const rtl::OUString& rDescription )
74 : : throw( com::sun::star::uno::RuntimeException );
75 : :
76 : : //------------------------------------------------
77 : : // XCancellable
78 : : //------------------------------------------------
79 : :
80 : : virtual void SAL_CALL cancel( )
81 : : throw( ::com::sun::star::uno::RuntimeException );
82 : :
83 : : //------------------------------------------------
84 : : // XEventListener
85 : : //------------------------------------------------
86 : :
87 : : virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& aEvent )
88 : : throw(::com::sun::star::uno::RuntimeException);
89 : :
90 : : private:
91 : : // prevent copy and assignment
92 : : SalGtkFolderPicker( const SalGtkFolderPicker& );
93 : : SalGtkFolderPicker& operator=( const SalGtkFolderPicker& );
94 : : };
95 : :
96 : : #endif // _SALGTKFOLDERPICKER_HXX_
97 : :
98 : : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|