Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/PluginClass.h

Issue 29323611: Issue #1234, #2058 - Rewrite log facility, improving thread implementation
Patch Set: rebase to current tip Created Jan. 5, 2016, 2:52 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/plugin/PluginClass.h
===================================================================
--- a/src/plugin/PluginClass.h
+++ b/src/plugin/PluginClass.h
@@ -24,6 +24,7 @@
#include "Plugin.h"
+#include "PluginDebug.h"
#include "PluginTabBase.h"
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
@@ -53,6 +54,11 @@
friend class CPluginTab;
private:
+ /**
+ * Existence of this object ensures the existence of the log.
+ * Defined first so that the log is available to the constructors of other members.
+ */
+ LogQueueReference lqr;
CPluginTab* m_tab;

Powered by Google App Engine
This is Rietveld