h & cpp split

This commit is contained in:
王劲鹏
2019-12-14 10:04:17 +08:00
parent 4610e71f42
commit ed2a1326fc
17 changed files with 210 additions and 159 deletions

View File

@@ -3,6 +3,10 @@
#include "native_driver.h"
#include "utility/utility.h"
NativeDriver::NativeDriver() {
qDebug() << "NativeDriver constructor";
}
NativeDriver::~NativeDriver() {
qDebug() << "NativeDriver destructor";
}

View File

@@ -11,9 +11,7 @@ class NativeDriver : public Driver {
private:
static NativeDriver *local_instance;
NativeDriver() {
qDebug() << "NativeDriver constructor";
}
NativeDriver();
~NativeDriver() override;