Skip to content

v0.2.55..v0.2.56 changeset LogJs.h

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
diff --git a/hoot-js/src/main/cpp/hoot/js/util/LogJs.h b/hoot-js/src/main/cpp/hoot/js/util/LogJs.h
index b575cfa..6700615 100644
--- a/hoot-js/src/main/cpp/hoot/js/util/LogJs.h
+++ b/hoot-js/src/main/cpp/hoot/js/util/LogJs.h
@@ -27,28 +27,27 @@
 #ifndef LOGJS_H
 #define LOGJS_H
 
-// Hoot
-#include <hoot/core/util/Log.h>
+//  Hoot
+#include <hoot/js/HootBaseJs.h>
 
-// node.js
-#include <hoot/js/SystemNodeJs.h>
-
-// v8
-#include <hoot/js/HootJsStable.h>
+//  Qt
+#include <QHash>
+#include <QString>
 
 namespace hoot
 {
 
-class LogJs : public node::ObjectWrap
+class LogJs : public HootBaseJs
 {
 public:
 
- static void Init(v8::Handle<v8::Object> target);
+  static void Init(v8::Handle<v8::Object> target);
+
+  virtual ~LogJs() = default;
 
 private:
 
-  LogJs();
-  ~LogJs();
+  LogJs() = default;
 
   static void log(const v8::FunctionCallbackInfo<v8::Value>& args, Log::WarningLevel level);
   static void debug(const v8::FunctionCallbackInfo<v8::Value>& args);
Clone this wiki locally