|
|
@@ -0,0 +1,27 @@
|
|
|
+#ifndef MEDIADEVDETECT_H
|
|
|
+#define MEDIADEVDETECT_H
|
|
|
+
|
|
|
+#include "CustomImportInterface.h"
|
|
|
+#include <QtCore/qglobal.h>
|
|
|
+
|
|
|
+#if defined(MEDIADEVDETECT_LIBRARY)
|
|
|
+# define MEDIADEVDETECT_EXPORT Q_DECL_EXPORT
|
|
|
+#else
|
|
|
+# define MEDIADEVDETECT_EXPORT Q_DECL_IMPORT
|
|
|
+#endif
|
|
|
+
|
|
|
+class MEDIADEVDETECT_EXPORT MediaDevDetect : public QObject, CustomImportInterface
|
|
|
+{
|
|
|
+ Q_OBJECT
|
|
|
+ Q_PLUGIN_METADATA(IID "org.cmbchina.rvcterminal.CustomImportInterface/1.0")
|
|
|
+ Q_INTERFACES(CustomImportInterface)
|
|
|
+
|
|
|
+public:
|
|
|
+ QString getVersion() override;
|
|
|
+ QWidget* getComponent(QWidget *parent, const QStringList& param) override;
|
|
|
+ QVariantList getMoreDetail() override;
|
|
|
+ QString getDisplayText() override;
|
|
|
+ InterfaceType getType() override;
|
|
|
+};
|
|
|
+
|
|
|
+#endif // MEDIADEVDETECT_H
|