summaryrefslogtreecommitdiff
path: root/retrace/daemon/ui/main.cpp
diff options
context:
space:
mode:
authorMark Janes <mark.a.janes@intel.com>2017-01-25 10:37:21 -0800
committerMark Janes <mark.a.janes@intel.com>2017-06-19 14:04:50 -0700
commit143df0858fd8a7d60336c5da9d4f5ba28d0a17c8 (patch)
tree8da366a4afbf7e4a5902d91e32a05b2525fb4eb3 /retrace/daemon/ui/main.cpp
parente16429bd105d396d8fd9d899ab96b935a63223f8 (diff)
ApiLog: refactor API functionality into separate model/view
Breaks the api viewer into it's own classes, in preparation for added complexity.
Diffstat (limited to 'retrace/daemon/ui/main.cpp')
-rw-r--r--retrace/daemon/ui/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/retrace/daemon/ui/main.cpp b/retrace/daemon/ui/main.cpp
index 5887b6f3..80cd1c6a 100644
--- a/retrace/daemon/ui/main.cpp
+++ b/retrace/daemon/ui/main.cpp
@@ -43,6 +43,7 @@
#include "glframe_glhelper.hpp"
#include "glframe_logger.hpp"
#include "glframe_os.hpp"
+#include "glframe_api_model.hpp"
#include "glframe_qbargraph.hpp"
#include "glframe_retrace_images.hpp"
#include "glframe_retrace_model.hpp"
@@ -57,6 +58,7 @@ using glretrace::FrameRetraceSkeleton;
using glretrace::FrameRetraceStub;
using glretrace::GlFunctions;
using glretrace::Logger;
+using glretrace::QApiModel;
using glretrace::QMetric;
using glretrace::QRenderBookmark;
using glretrace::QRenderShaders;
@@ -103,6 +105,8 @@ int main(int argc, char *argv[]) {
"QRenderShaders");
qmlRegisterType<glretrace::QRenderShadersList>("ApiTrace", 1, 0,
"QRenderShadersList");
+ qmlRegisterType<glretrace::QApiModel>("ApiTrace", 1, 0,
+ "QApiModel");
glretrace::FrameImages::Create();