Version 6.1.4.1, tag libreoffice-6.1.4.1
[LibreOffice.git] / basctl / source / basicide / iderdll2.hxx
blob0e1bff2be5e40f8305fc6e9c1ab25ff47c111550
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 #ifndef INCLUDED_BASCTL_SOURCE_BASICIDE_IDERDLL2_HXX
21 #define INCLUDED_BASCTL_SOURCE_BASICIDE_IDERDLL2_HXX
23 class StarBASIC;
24 class SvxSearchItem;
27 #include <bastypes.hxx>
28 #include <bastype2.hxx>
30 #include <memory>
32 namespace basctl
35 class ExtraData final
37 LibInfo aLibInfo;
39 EntryDescriptor m_aLastEntryDesc;
41 OUString aAddLibPath;
42 OUString aAddLibFilter;
44 bool bChoosingMacro;
45 bool bShellInCriticalSection;
47 DECL_STATIC_LINK( ExtraData, GlobalBasicBreakHdl, StarBASIC *, BasicDebugFlags );
49 public:
50 ExtraData();
51 ~ExtraData();
53 LibInfo& GetLibInfo () { return aLibInfo; }
55 EntryDescriptor& GetLastEntryDescriptor () { return m_aLastEntryDesc; }
56 void SetLastEntryDescriptor (EntryDescriptor const & rDesc) { m_aLastEntryDesc = rDesc; }
58 bool& ChoosingMacro() { return bChoosingMacro; }
59 bool& ShellInCriticalSection() { return bShellInCriticalSection; }
61 const OUString& GetAddLibPath() const { return aAddLibPath; }
62 void SetAddLibPath( const OUString& rPath ) { aAddLibPath = rPath; }
64 const OUString& GetAddLibFilter() const { return aAddLibFilter; }
65 void SetAddLibFilter( const OUString& rFilter ) { aAddLibFilter = rFilter; }
68 } // namespace basctl
70 #endif // INCLUDED_BASCTL_SOURCE_BASICIDE_IDERDLL2_HXX
72 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */