summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/global-settings.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-07-27 16:21:31 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-07-27 16:21:31 +0200
commit41c2933a5ab2a2592a8d4dffb91b6db3a02f3c9b (patch)
treea3fb4effe565dc504b0466f3af9bbf492bf2d7ea /facetracknoir/global-settings.h
parentb68868247aea33b2e26b80058fc5a48df69ba53a (diff)
rename file so that name makes any sense
Diffstat (limited to 'facetracknoir/global-settings.h')
-rw-r--r--facetracknoir/global-settings.h93
1 files changed, 0 insertions, 93 deletions
diff --git a/facetracknoir/global-settings.h b/facetracknoir/global-settings.h
deleted file mode 100644
index 4394d1a0..00000000
--- a/facetracknoir/global-settings.h
+++ /dev/null
@@ -1,93 +0,0 @@
-#pragma once
-
-#if defined(_WIN32)
-# define CALLING_CONVENTION_SUFFIX_VOID_FUNCTION "@0"
-# ifdef _MSC_VER
-# define MAYBE_STDCALL_UNDERSCORE "_"
-#else
-# define MAYBE_STDCALL_UNDERSCORE ""
-# endif
-#else
-# define CALLING_CONVENTION_SUFFIX_VOID_FUNCTION ""
-# define MAYBE_STDCALL_UNDERSCORE ""
-#endif
-
-#ifdef _MSC_VER
-# define virt_override
-#else
-# define virt_override override
-#endif
-
-#include <cstdio>
-
-#include <QWidget>
-#include <QDebug>
-#include <QString>
-#include <QLibrary>
-#include <QFrame>
-#include "ftnoir_tracker_base/ftnoir_tracker_base.h"
-#include "ftnoir_filter_base/ftnoir_filter_base.h"
-#include "ftnoir_protocol_base/ftnoir_protocol_base.h"
-
-#if defined(_WIN32)
-# define CALLING_CONVENTION __stdcall
-#else
-# define CALLING_CONVENTION
-#endif
-
-class IDynamicLibraryProvider;
-
-struct SelectedLibraries {
-public:
- ITracker* pTracker;
- ITracker* pSecondTracker;
- IFilter* pFilter;
- IProtocol* pProtocol;
- SelectedLibraries(IDynamicLibraryProvider* main = NULL);
- ~SelectedLibraries();
- bool correct;
-};
-
-extern SelectedLibraries* Libraries;
-
-struct Metadata;
-
-extern "C" typedef void* (CALLING_CONVENTION * CTOR_FUNPTR)(void);
-extern "C" typedef Metadata* (CALLING_CONVENTION* METADATA_FUNPTR)(void);
-extern "C" typedef void* (CALLING_CONVENTION* DIALOG_FUNPTR)(void);
-
-class DynamicLibrary {
-public:
- DynamicLibrary(const QString& filename);
- virtual ~DynamicLibrary();
- DIALOG_FUNPTR Dialog;
- CTOR_FUNPTR Constructor;
- METADATA_FUNPTR Metadata;
- QString filename;
-private:
-#if defined(_WIN32)
- QLibrary* handle;
-#else
- void* handle;
-#endif
-};
-
-struct Metadata
-{
- Metadata() {}
- virtual ~Metadata() {}
-
- virtual void getFullName(QString *strToBeFilled) = 0;
- virtual void getShortName(QString *strToBeFilled) = 0;
- virtual void getDescription(QString *strToBeFilled) = 0;
- virtual void getIcon(QIcon *icon) = 0;
-};
-
-class IDynamicLibraryProvider {
-public:
- virtual DynamicLibrary* current_tracker1() = 0;
- virtual DynamicLibrary* current_tracker2() = 0;
- virtual DynamicLibrary* current_protocol() = 0;
- virtual DynamicLibrary* current_filter() = 0;
- virtual QFrame* get_video_widget() = 0;
-};