summaryrefslogtreecommitdiff
path: root/fpicker/source/office/pickercallbacks.hxx
blob: 84e2ba7e6fd20101c46532815d49ae5eaeddb832 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#ifndef INCLUDED_FPICKER_SOURCE_OFFICE_PICKERCALLBACKS_HXX
#define INCLUDED_FPICKER_SOURCE_OFFICE_PICKERCALLBACKS_HXX

#include <sal/types.h>
#include <rtl/ustring.hxx>

class Control;


namespace svt
{



    class IFilePickerController
    {
    public:
        virtual Control*    getControl( sal_Int16 _nControlId, bool _bLabelControl = false ) const = 0;
        virtual void        enableControl( sal_Int16 _nControlId, bool _bEnable ) = 0;
        virtual OUString    getCurFilter( ) const = 0;

    protected:
        ~IFilePickerController() {}
    };


    class IFilePickerListener
    {
    public:
        virtual void    notify( sal_Int16 _nEventId, sal_Int16 _nControlId ) = 0;

    protected:
        ~IFilePickerListener() {}
    };


}   // namespace svt


#endif // INCLUDED_FPICKER_SOURCE_OFFICE_PICKERCALLBACKS_HXX

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
n>tdf#42949 Remove unnecessary localization headers from dbaccessGabor Kelemen 2017-10-23loplugin:includeform: dbaccessStephan Bergmann 2017-07-21migrate to boost::gettextCaolán McNamara 2017-02-17Drop :: prefix from std in [de]*/Tor Lillqvist 2017-01-31teach lolugin:stringconstant about calling constructorsNoel Grandin 2016-12-07convert VCLEVENT constants to scoped enumNoel Grandin 2016-10-05Remove _TYPED suffix from tools/link.hxx macrosStephan Bergmann 2016-06-08tdf#96099 Remove various smart pointer typedefsMark Page 2016-04-13loplugin:passstuffbyref in dbaccessNoel Grandin 2015-10-20convert Link<> to typedNoel Grandin 2015-10-19sfx items: Kill the SFX_ITEMSET_GET macro.Jan Holesovsky 2015-10-16convert Link<> to typedNoel Grandin 2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann 2015-09-10convert Link<> to typedNoel Grandin 2015-07-20cppcheck: noExplicitConstructorCaolán McNamara 2015-04-30Gradually typed LinkStephan Bergmann 2015-04-10vclwidget: only call dispose() onceNoel Grandin 2015-04-10vclwidget: change all vcl::window fields to be wrapped in VclPtrNoel Grandin 2015-04-09vcl: VclPtr conversion in dbaccessNoel Grandin 2014-09-23fdo#82577: Handle WindowNoel Grandin 2014-09-09Resolves: fdo#83678 no thousand seperator for port numbersCaolán McNamara 2014-08-04PAGE_MYSQL_NATIVE and PAGE_DBWIZARD_MYSQL_NATIVE conversion to .uiSzymon Kłos 2014-06-10Change SfxTabPage::FillItemSet param from ref to pointerStephan Bergmann 2014-04-17dbaccess: sal_Bool->boolNoel Grandin 2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann 2014-03-27sfx2: sal_Bool->boolNoel Grandin