KiCad PCB EDA Suite
Loading...
Searching...
No Matches
model_preview_manager.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 The KiCad Developers, see AUTHORS.txt for contributors.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or (at your option)
9 * any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, you may find one here:
18 * http://www.gnu.org/licenses/old-licenses/gpl-3.0.html
19 */
20
21#ifndef MODEL_PREVIEW_MANAGER_H
22#define MODEL_PREVIEW_MANAGER_H
23
24#include <vector>
25
26// Not just for wxArrayString: it is dllexported and derives from std::vector<wxString>, so this
27// is what makes MSVC treat that instantiation as dllimport. Dropping it for <wx/string.h> makes
28// every translation unit emit its own copy and the link fails with LNK2005.
29#include <wx/arrstr.h>
30
31#include <kicommon.h>
32
33class wxWindow;
34
42
49
57
69
71 const std::vector<wxString>& aDeclinedRequirements );
72KICOMMON_API void DeclineModelPreviewRequirement( const wxString& aRequirement,
73 std::vector<wxString>& aDeclinedRequirements );
74
75#if defined( KICAD_NATIVE_MODEL_PREVIEW ) && defined( __WINDOWS__ )
78
79KICOMMON_API void MaybeShowModelPreviewSetupPrompt( wxWindow* aParent );
80#endif
81
82#endif // MODEL_PREVIEW_MANAGER_H
@ NONE
Definition eda_fill.h:42
#define KICOMMON_API
Definition kicommon.h:27
MODEL_PREVIEW_COMPONENT_STATE
KICOMMON_API bool ShouldPromptForModelPreviewSetup(const MODEL_PREVIEW_STATUS &aStatus, const std::vector< wxString > &aDeclinedRequirements)
KICOMMON_API void DeclineModelPreviewRequirement(const wxString &aRequirement, std::vector< wxString > &aDeclinedRequirements)
MODEL_PREVIEW_GUIDANCE
MODEL_PREVIEW_ENABLEMENT_STATE
bool RepairPlatformModelPreviewRegistration(wxString &aError)
MODEL_PREVIEW_STATUS GetPlatformModelPreviewStatus()
MODEL_PREVIEW_ENABLEMENT_STATE enablement
MODEL_PREVIEW_GUIDANCE guidance
MODEL_PREVIEW_COMPONENT_STATE component