Skip to content

Commit bbd18be

Browse files
committed
Make plugin generator able to compile on VS2013
1 parent c8e8d3f commit bbd18be

4 files changed

Lines changed: 9 additions & 7 deletions

File tree

PluginGenerator/Source/Project/jucer_ConfigTree_Base.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,8 +422,8 @@ class RootItem : public ConfigTreeItemBase
422422

423423
SharedResourcePointer<MaterialButtonLookAndFeel> m_materialButtonLookAndFeel;
424424

425-
static constexpr const char* PROJECT_SETTINGS_BUTTON_ID = "projectSettingsTab";
426-
static constexpr const char* PLUGIN_SETTINGS_BUTTON_ID = "pluginSettingsTab";
425+
const char* PROJECT_SETTINGS_BUTTON_ID = "projectSettingsTab";
426+
const char* PLUGIN_SETTINGS_BUTTON_ID = "pluginSettingsTab";
427427

428428
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (SettingsComp)
429429
};

PluginGenerator/Source/Wizards/openEphys_PluginTemplatesPageComponent.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
#include "../../../Source/UI/Utils/TiledButtonGroupManager.h"
3131

3232

33+
const char* PluginTemplatesPageComponent::TEMPLATES_PAGE_CREATE_PROJECT_BUTTON_ID = "templatesPageComponent_createProjectButton";
34+
3335
PluginTemplatesPageComponent::PluginTemplatesPageComponent()
3436
: m_createProjectButton (new TextButton ("Create project...", "Create new project"))
3537
, m_pluginTypeComboBox (new ComboBox ("Plugin type"))

PluginGenerator/Source/Wizards/openEphys_PluginTemplatesPageComponent.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class PluginTemplatesPageComponent : public Component
6767
void showGenericEditorTemplates();
6868
void showVisualizerEditorTemplates();
6969

70-
static constexpr const char* TEMPLATES_PAGE_CREATE_PROJECT_BUTTON_ID = "templatesPageComponent_createProjectButton";
70+
static const char* TEMPLATES_PAGE_CREATE_PROJECT_BUTTON_ID;
7171

7272

7373
private:
@@ -117,8 +117,8 @@ class PluginTemplatesPageComponent : public Component
117117
ScopedPointer<MaterialButtonLookAndFeel> m_materialButtonLookAndFeel;
118118

119119
// Some constants
120-
static constexpr const char* GENERIC_EDITOR_TEMPLATES_TAB_BUTTON_ID = "genericEditorPluginTemplatesTab";
121-
static constexpr const char* VISUALIZER_EDITOR_TEMPLATES_TAB_BUTTON_ID = "visualizerEditorPluginTemplatesTab";
120+
const char* GENERIC_EDITOR_TEMPLATES_TAB_BUTTON_ID = "genericEditorPluginTemplatesTab";
121+
const char* VISUALIZER_EDITOR_TEMPLATES_TAB_BUTTON_ID = "visualizerEditorPluginTemplatesTab";
122122

123123
// ========================================================================
124124
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (PluginTemplatesPageComponent);

PluginGenerator/Source/Wizards/openEphys_ProjectWizard_OpenEphysPlugin.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,8 @@ struct OpenEphysPluginAppWizard : public NewProjectWizard
465465
return wasGeneratedSuccessfully;
466466
}
467467

468-
static constexpr const char* COMBOBOX_ID_PLUGIN_TYPE = "pluginTypeComboBox";// { "pluginTypeComboBox" };
469-
static constexpr const char* COMBOBOX_ID_PROCESSOR_TYPE = "processorTypeComboBox";// { "processorTypeComboBox" };
468+
const char* COMBOBOX_ID_PLUGIN_TYPE = "pluginTypeComboBox";// { "pluginTypeComboBox" };
469+
const char* COMBOBOX_ID_PROCESSOR_TYPE = "processorTypeComboBox";// { "processorTypeComboBox" };
470470

471471

472472
private:

0 commit comments

Comments
 (0)