diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-06-07 07:24:06 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-06-07 08:09:31 +0200 |
commit | 71856701c8bedad3d992cb63620e695df8727812 (patch) | |
tree | fd84ea540955df1510aa0cfd24b599008ad13219 /opentrack/selected-libraries.hpp | |
parent | aa2de50523257778474c9c2ec8da8edbcb31cd8b (diff) |
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.
Diffstat (limited to 'opentrack/selected-libraries.hpp')
-rw-r--r-- | opentrack/selected-libraries.hpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/opentrack/selected-libraries.hpp b/opentrack/selected-libraries.hpp new file mode 100644 index 00000000..ffaf882c --- /dev/null +++ b/opentrack/selected-libraries.hpp @@ -0,0 +1,15 @@ +#pragma once + +#include "opentrack/plugin-support.hpp" +#include <QFrame> + +struct SelectedLibraries { + using dylibptr = mem<dylib>; + mem<ITracker> pTracker; + mem<IFilter> pFilter; + mem<IProtocol> pProtocol; + SelectedLibraries(QFrame* frame, dylibptr t, dylibptr p, dylibptr f); + SelectedLibraries() : pTracker(nullptr), pFilter(nullptr), pProtocol(nullptr), correct(false) {} + ~SelectedLibraries(); + bool correct; +}; |