summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
Diffstat (limited to 'facetracknoir')
-rw-r--r--facetracknoir/global-settings.cpp12
-rw-r--r--facetracknoir/global-settings.h15
2 files changed, 27 insertions, 0 deletions
diff --git a/facetracknoir/global-settings.cpp b/facetracknoir/global-settings.cpp
index b198f327..42646742 100644
--- a/facetracknoir/global-settings.cpp
+++ b/facetracknoir/global-settings.cpp
@@ -4,6 +4,12 @@
# include <dlfcn.h>
#endif
+#ifdef IN_OPENTRACK_API
+# ifdef __GNUC__
+# pragma GCC visibility push(protected)
+# endif
+#endif
+
SelectedLibraries* Libraries = NULL;
SelectedLibraries::~SelectedLibraries()
@@ -128,3 +134,9 @@ DynamicLibrary::~DynamicLibrary()
(void) dlclose(handle);
#endif
}
+
+#ifdef IN_OPENTRACK_API
+# ifdef __GNUC__
+# pragma GCC visibility pop
+# endif
+#endif
diff --git a/facetracknoir/global-settings.h b/facetracknoir/global-settings.h
index b2a54e20..ea36abac 100644
--- a/facetracknoir/global-settings.h
+++ b/facetracknoir/global-settings.h
@@ -12,6 +12,14 @@
# define MAYBE_STDCALL_UNDERSCORE ""
#endif
+#include <cstdio>
+
+#ifdef IN_OPENTRACK_API
+# ifdef __GNUC__
+# pragma GCC visibility push(protected)
+# endif
+#endif
+
#include <QWidget>
#include <QDebug>
#include <QString>
@@ -83,3 +91,10 @@ public:
virtual DynamicLibrary* current_filter() = 0;
virtual QFrame* get_video_widget() = 0;
};
+
+
+#ifdef IN_OPENTRACK_API
+# ifdef __GNUC__
+# pragma GCC visibility pop
+# endif
+#endif