Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / include / svtools / slidesorterbaropt.hxx
blob9250838faffff7cd913862d287ab6a0b4679b860
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #pragma once
22 #include <svtools/svtdllapi.h>
23 #include <unotools/options.hxx>
24 #include <memory>
26 /** forward declaration to our private date container implementation
28 We use these class as internal member to support small memory requirements.
29 You can create the container if it is necessary. The class which use these mechanism
30 is faster and smaller then a complete implementation!
32 class SvtSlideSorterBarOptions_Impl;
34 /** collect information about sidebar group
36 \attention This class is partially threadsafe.
38 class SVT_DLLPUBLIC SvtSlideSorterBarOptions final : public utl::detail::Options
40 public:
41 SvtSlideSorterBarOptions();
42 virtual ~SvtSlideSorterBarOptions() override;
44 bool GetVisibleImpressView() const;
45 void SetVisibleImpressView( bool bVisible );
46 bool GetVisibleOutlineView() const;
47 void SetVisibleOutlineView( bool bVisible );
48 bool GetVisibleNotesView() const;
49 void SetVisibleNotesView( bool bVisible );
50 bool GetVisibleHandoutView() const;
51 void SetVisibleHandoutView( bool bVisible );
52 bool GetVisibleSlideSorterView() const;
53 void SetVisibleSlideSorterView( bool bVisible );
54 bool GetVisibleDrawView() const;
55 void SetVisibleDrawView( bool bVisible );
58 private:
59 std::shared_ptr<SvtSlideSorterBarOptions_Impl> m_pImpl;
62 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */