android: Update app-specific/MIME type icons
[LibreOffice.git] / basctl / source / basicide / iderdll2.hxx
blob99534119f815c17144b4eae1a9eb1860652df89b
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 class StarBASIC;
23 class SvxSearchItem;
26 #include <bastypes.hxx>
27 #include <bastype2.hxx>
29 namespace basctl
32 class ExtraData final
34 LibInfo aLibInfo;
36 EntryDescriptor m_aLastEntryDesc;
38 OUString aAddLibPath;
39 OUString aAddLibFilter;
41 bool bChoosingMacro;
42 bool bShellInCriticalSection;
44 DECL_STATIC_LINK( ExtraData, GlobalBasicBreakHdl, StarBASIC *, BasicDebugFlags );
46 public:
47 ExtraData();
48 ~ExtraData();
50 LibInfo& GetLibInfo () { return aLibInfo; }
52 EntryDescriptor& GetLastEntryDescriptor () { return m_aLastEntryDesc; }
53 void SetLastEntryDescriptor (EntryDescriptor const & rDesc) { m_aLastEntryDesc = rDesc; }
55 bool& ChoosingMacro() { return bChoosingMacro; }
56 bool& ShellInCriticalSection() { return bShellInCriticalSection; }
58 const OUString& GetAddLibPath() const { return aAddLibPath; }
59 void SetAddLibPath( const OUString& rPath ) { aAddLibPath = rPath; }
61 const OUString& GetAddLibFilter() const { return aAddLibFilter; }
62 void SetAddLibFilter( const OUString& rFilter ) { aAddLibFilter = rFilter; }
65 } // namespace basctl
67 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */