File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525#define OPENEPHYSPLUGIN_H_INCLUDED
2626
2727#include < JuceHeader.h>
28-
28+ # include " PluginAPI.h "
2929#include " PluginIDs.h"
3030
31- #ifdef _WIN32
32- #ifdef OEPLUGIN
33- #define PLUGIN_API __declspec (dllimport)
34- #else
35- #define PLUGIN_API __declspec (dllexport)
36- #endif
37- #else
38- #define PLUGIN_API __attribute__ ((visibility (" default" )))
39- #endif
40-
4131struct ProcessorInfo ;
4232struct LibraryInfo ;
4333struct PluginInfo ;
Original file line number Diff line number Diff line change 1+ /*
2+ ------------------------------------------------------------------
3+
4+ This file is part of the Open Ephys GUI
5+ Copyright (C) 2024 Open Ephys
6+
7+ ------------------------------------------------------------------
8+
9+ This program is free software: you can redistribute it and/or modify
10+ it under the terms of the GNU General Public License as published by
11+ the Free Software Foundation, either version 3 of the License, or
12+ (at your option) any later version.
13+
14+ This program is distributed in the hope that it will be useful,
15+ but WITHOUT ANY WARRANTY; without even the implied warranty of
16+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+ GNU General Public License for more details.
18+
19+ You should have received a copy of the GNU General Public License
20+ along with this program. If not, see <http://www.gnu.org/licenses/>.
21+
22+ */
23+
24+ #ifndef PLUGIN_API_H_INCLUDED
25+ #define PLUGIN_API_H_INCLUDED
26+
27+ #ifdef _WIN32
28+ #ifdef OEPLUGIN
29+ #define PLUGIN_API __declspec (dllimport)
30+ #else
31+ #define PLUGIN_API __declspec (dllexport)
32+ #endif
33+ #else
34+ #define PLUGIN_API __attribute__ ((visibility ("default")))
35+ #endif
36+
37+ #endif // PLUGIN_API_H_INCLUDED
Original file line number Diff line number Diff line change 3232#include < mutex>
3333#include < string>
3434
35- #include " ../Processors/PluginManager/OpenEphysPlugin .h"
35+ #include " ../Processors/PluginManager/PluginAPI .h"
3636
3737/* Thread-safe logger */
3838class PLUGIN_API OELogger
You can’t perform that action at this time.
0 commit comments