From 71856701c8bedad3d992cb63620e695df8727812 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 7 Jun 2015 07:24:06 +0200 Subject: plugin-support: make header-only, expose as public API Issue: #151 Some global namespace macros are now prefixed with "OPENTRACK_" to avoid namespace clashes. This header is now safe to include in third-party projects. --- ftnoir_tracker_hatire/ftnoir_tracker_hat.h | 2 +- ftnoir_tracker_hatire/ftnoir_tracker_hat_dll.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ftnoir_tracker_hatire') diff --git a/ftnoir_tracker_hatire/ftnoir_tracker_hat.h b/ftnoir_tracker_hatire/ftnoir_tracker_hat.h index 020b4132..d9dd0694 100644 --- a/ftnoir_tracker_hatire/ftnoir_tracker_hat.h +++ b/ftnoir_tracker_hatire/ftnoir_tracker_hat.h @@ -2,7 +2,7 @@ #define FTNOIR_TRACKER_HAT_H #ifdef OPENTRACK_API -# include "opentrack/plugin-support.h" +# include "opentrack/plugin-support.hpp" #else # include "..\ftnoir_tracker_base\ftnoir_tracker_base.h" #endif diff --git a/ftnoir_tracker_hatire/ftnoir_tracker_hat_dll.cpp b/ftnoir_tracker_hatire/ftnoir_tracker_hat_dll.cpp index 5f64fe4b..66fead4f 100644 --- a/ftnoir_tracker_hatire/ftnoir_tracker_hat_dll.cpp +++ b/ftnoir_tracker_hatire/ftnoir_tracker_hat_dll.cpp @@ -91,7 +91,7 @@ QIcon TrackerDll::icon() // _GetTrackerDll@0 - Common name decoration for __stdcall functions in C language. #ifdef OPENTRACK_API -# include "opentrack/plugin-support.h" +# include "opentrack/plugin-support.hpp" extern "C" OPENTRACK_EXPORT Metadata* GetMetadata() #else # pragma comment(linker, "/export:GetTrackerDll=_GetTrackerDll@0") -- cgit v1.2.3