diff options
-rw-r--r-- | ftnoir_filter_base/ftnoir_filter_base.h | 23 | ||||
-rw-r--r-- | ftnoir_protocol_base/ftnoir_protocol_base.h | 16 | ||||
-rw-r--r-- | ftnoir_tracker_base/ftnoir_tracker_base.h | 20 |
3 files changed, 0 insertions, 59 deletions
diff --git a/ftnoir_filter_base/ftnoir_filter_base.h b/ftnoir_filter_base/ftnoir_filter_base.h index b38fc226..aef76370 100644 --- a/ftnoir_filter_base/ftnoir_filter_base.h +++ b/ftnoir_filter_base/ftnoir_filter_base.h @@ -30,33 +30,10 @@ struct IFilter virtual void Initialize() = 0;
};
-// Factory function that creates instances of the Filter object.
-
-////////////////////////////////////////////////////////////////////////////////
-// COM-Like abstract interface.
-// This interface doesn't require __declspec(dllexport/dllimport) specifier.
-// Method calls are dispatched via virtual table.
-// Any C++ compiler can use it.
-// Instances are obtained via factory function.
-struct IFilterDll
-{
- virtual ~IFilterDll() {}
-
- virtual void getFullName(QString *strToBeFilled) = 0;
- virtual void getShortName(QString *strToBeFilled) = 0;
- virtual void getDescription(QString *strToBeFilled) = 0;
- virtual void getIcon(QIcon *icon) = 0;
-};
-
struct IFilterDialog
{
virtual ~IFilterDialog() {}
virtual void Initialize(QWidget *parent, IFilter* ptr) = 0;
-
- virtual void getFullName(QString *strToBeFilled) {};
- virtual void getShortName(QString *strToBeFilled) {};
- virtual void getDescription(QString *strToBeFilled) {};
- virtual void getIcon(QIcon *icon) {};
};
#endif // FTNOIR_FILTER_BASE_H
diff --git a/ftnoir_protocol_base/ftnoir_protocol_base.h b/ftnoir_protocol_base/ftnoir_protocol_base.h index d6e4cb58..8533363d 100644 --- a/ftnoir_protocol_base/ftnoir_protocol_base.h +++ b/ftnoir_protocol_base/ftnoir_protocol_base.h @@ -62,22 +62,6 @@ struct IProtocol virtual QString getGameName() = 0;
};
-////////////////////////////////////////////////////////////////////////////////
-// COM-Like abstract interface.
-// This interface doesn't require __declspec(dllexport/dllimport) specifier.
-// Method calls are dispatched via virtual table.
-// Any C++ compiler can use it.
-// Instances are obtained via factory function.
-struct IProtocolDll
-{
- virtual ~IProtocolDll() {}
-
- virtual void getFullName(QString *strToBeFilled) = 0;
- virtual void getShortName(QString *strToBeFilled) = 0;
- virtual void getDescription(QString *strToBeFilled) = 0;
- virtual void getIcon(QIcon *icon) = 0;
-};
-
struct IProtocolDialog
{
virtual ~IProtocolDialog() {}
diff --git a/ftnoir_tracker_base/ftnoir_tracker_base.h b/ftnoir_tracker_base/ftnoir_tracker_base.h index 182a364c..7c2ab442 100644 --- a/ftnoir_tracker_base/ftnoir_tracker_base.h +++ b/ftnoir_tracker_base/ftnoir_tracker_base.h @@ -59,7 +59,6 @@ struct ITracker virtual bool GiveHeadPoseData(double *data) = 0;
virtual void WaitForExit() = 0;
-
virtual void NotifyCenter() {}
};
@@ -79,23 +78,4 @@ struct ITrackerDialog virtual void unRegisterTracker() = 0;
};
-
-////////////////////////////////////////////////////////////////////////////////
-// COM-Like abstract interface.
-// This interface doesn't require __declspec(dllexport/dllimport) specifier.
-// Method calls are dispatched via virtual table.
-// Any C++ compiler can use it.
-// Instances are obtained via factory function.
-struct ITrackerDll
-{
- virtual ~ITrackerDll() {}
- virtual void Initialize() = 0;
-
- virtual void getFullName(QString *strToBeFilled) = 0;
- virtual void getShortName(QString *strToBeFilled) = 0;
- virtual void getDescription(QString *strToBeFilled) = 0;
- virtual void getIcon(QIcon *icon) = 0;
-};
-
-
#endif // FTNOIR_TRACKER_BASE_H
|