KiCad PCB EDA Suite
Loading...
Searching...
No Matches
aui_settings.h
Go to the documentation of this file.
1/*
2 * This program source code file is part of KiCad, a free EDA CAD application.
3 *
4 * Copyright (C) 2023 Rivos
5 * Copyright (C) 2023 KiCad Developers, see AUTHORS.txt for contributors.
6 *
7 * @author Wayne Stambaugh <[email protected]>
8 *
9 * This program is free software: you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License as published by the
11 * Free Software Foundation, either version 3 of the License, or (at your
12 * option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License along
20 * with this program. If not, see <http://www.gnu.org/licenses/>.
21 */
22
23#ifndef _AUI_SETTINGS_H_
24#define _AUI_SETTINGS_H_
25
27
28class wxAuiPaneInfo;
29class wxPoint;
30class wxRect;
31class wxSize;
32
33KICOMMON_API void to_json( nlohmann::json& aJson, const wxPoint& aPoint );
34KICOMMON_API void from_json( const nlohmann::json& aJson, wxPoint& aPoint );
35KICOMMON_API bool operator<( const wxPoint& aLhs, const wxPoint& aRhs );
36
37KICOMMON_API void to_json( nlohmann::json& aJson, const wxSize& aPoint );
38KICOMMON_API void from_json( const nlohmann::json& aJson, wxSize& aPoint );
39KICOMMON_API bool operator<( const wxSize& aLhs, const wxSize& aRhs );
40
41KICOMMON_API void to_json( nlohmann::json& aJson, const wxRect& aRect );
42KICOMMON_API void from_json( const nlohmann::json& aJson, wxRect& aRect );
43KICOMMON_API bool operator<( const wxRect& aLhs, const wxRect& aRhs );
44
45KICOMMON_API void to_json( nlohmann::json& aJson, const wxAuiPaneInfo& aPaneInfo );
46KICOMMON_API void from_json( const nlohmann::json& aJson, wxAuiPaneInfo& aPaneInfo );
47KICOMMON_API bool operator<( const wxAuiPaneInfo& aLhs, const wxAuiPaneInfo& aRhs );
48KICOMMON_API bool operator==( const wxAuiPaneInfo& aLhs, const wxAuiPaneInfo& aRhs );
49
50#endif // _AUI_SETTINGS_H_
KICOMMON_API bool operator==(const wxAuiPaneInfo &aLhs, const wxAuiPaneInfo &aRhs)
KICOMMON_API bool operator<(const wxPoint &aLhs, const wxPoint &aRhs)
KICOMMON_API void to_json(nlohmann::json &aJson, const wxPoint &aPoint)
KICOMMON_API void from_json(const nlohmann::json &aJson, wxPoint &aPoint)
#define KICOMMON_API
Definition: kicommon.h:28