summaryrefslogtreecommitdiffhomepage
path: root/opentrack/plugin-qt-api.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-21 07:42:14 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-10-21 07:42:14 +0200
commite5354191fda220cad53115787d4d891148cb7687 (patch)
tree889506f9be5e389383d899537ca1a54caa8af140 /opentrack/plugin-qt-api.hpp
parent5b6d70bc4ed571c330a9871f3c7f308990f174fb (diff)
change filter api for less camel usage
Diffstat (limited to 'opentrack/plugin-qt-api.hpp')
-rw-r--r--opentrack/plugin-qt-api.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/opentrack/plugin-qt-api.hpp b/opentrack/plugin-qt-api.hpp
index a2aa0d19..6fcea4f5 100644
--- a/opentrack/plugin-qt-api.hpp
+++ b/opentrack/plugin-qt-api.hpp
@@ -9,7 +9,7 @@ struct Metadata
public:
virtual QString name() = 0;
virtual QIcon icon() = 0;
- virtual ~Metadata() {};
+ virtual ~Metadata() {}
};
// XXX TODO get rid of QString/QFrame to fix ABI woes
@@ -20,23 +20,23 @@ public:
struct IFilter
{
public:
- virtual ~IFilter() {};
+ virtual ~IFilter() {}
virtual void filter(const double *target_camera_position, double *new_camera_position) = 0;
};
struct IFilterDialog : public QWidget
{
virtual ~IFilterDialog() {}
- virtual void registerFilter(IFilter* tracker) = 0;
- virtual void unregisterFilter() = 0;
+ virtual void register_filter(IFilter* filter) = 0;
+ virtual void unregister_filter() = 0;
};
struct IProtocol
{
public:
- virtual ~IProtocol() {};
+ virtual ~IProtocol() {}
virtual bool correct() = 0;
- virtual void pose( const double* headpose ) = 0;
+ virtual void pose(const double* headpose) = 0;
virtual QString game_name() = 0;
};
@@ -50,8 +50,8 @@ struct IProtocolDialog : public QWidget
struct ITracker
{
public:
- virtual ~ITracker() {};
- virtual void start_tracker( QFrame* frame ) = 0;
+ virtual ~ITracker() {}
+ virtual void start_tracker(QFrame* frame) = 0;
virtual void data(double *data) = 0;
};