LibreOffice Module fpicker (master) 1
SalAquaFolderPicker.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#pragma once
21
23#include <com/sun/star/util/XCancellable.hpp>
24#include <com/sun/star/lang/XEventListener.hpp>
25#include <com/sun/star/lang/XServiceInfo.hpp>
26
27#include <com/sun/star/ui/dialogs/XFolderPicker2.hpp>
28
29#include "SalAquaPicker.hxx"
30
31#include <rtl/ustring.hxx>
32
33
34
35
37 public SalAquaPicker,
38 public cppu::WeakImplHelper<
39 css::ui::dialogs::XFolderPicker2,
40 css::lang::XServiceInfo,
41 css::lang::XEventListener >
42{
43public:
44
45 // constructor
47
48
49 // XExecutableDialog functions
50
51
52 virtual void SAL_CALL setTitle( const OUString& aTitle ) override;
53
54 virtual sal_Int16 SAL_CALL execute( ) override;
55
56
57 // XFolderPicker functions
58
59
60 virtual void SAL_CALL setDisplayDirectory( const OUString& rDirectory ) override;
61
62 virtual OUString SAL_CALL getDisplayDirectory( ) override;
63
64 virtual OUString SAL_CALL getDirectory( ) override;
65
66 virtual void SAL_CALL setDescription( const OUString& rDescription ) override;
67
68
69 // XServiceInfo
70
71
72 virtual OUString SAL_CALL getImplementationName( ) override;
73
74 virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
75
76 virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
77
78
79 // XCancellable
80
81
82 virtual void SAL_CALL cancel( ) override;
83
84
85 // XEventListener
86
87
88 virtual void SAL_CALL disposing( const css::lang::EventObject& aEvent ) override;
89
90private:
93};
94
95/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
AnyEventRef aEvent
virtual sal_Int16 SAL_CALL execute() override
virtual void SAL_CALL setDescription(const OUString &rDescription) override
virtual OUString SAL_CALL getDisplayDirectory() override
virtual void SAL_CALL setTitle(const OUString &aTitle) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
SalAquaFolderPicker(const SalAquaFolderPicker &)=delete
virtual OUString SAL_CALL getDirectory() override
virtual OUString SAL_CALL getImplementationName() override
virtual void SAL_CALL cancel() override
virtual void SAL_CALL disposing(const css::lang::EventObject &aEvent) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual void SAL_CALL setDisplayDirectory(const OUString &rDirectory) override
SalAquaFolderPicker & operator=(const SalAquaFolderPicker &)=delete
unsigned char sal_Bool