Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(212)

Unified Diff: src/core/model/trace-source-accessor.h

Issue 342870043: Visual Studio conditional code for core module (Closed)
Patch Set: Updates to resolve review comments Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/model/timer-impl.h ('k') | src/core/model/traced-value.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/model/trace-source-accessor.h
===================================================================
--- a/src/core/model/trace-source-accessor.h
+++ b/src/core/model/trace-source-accessor.h
@@ -25,6 +25,10 @@
#include "ptr.h"
#include "simple-ref-count.h"
+#include "ns3/ns3-module.h"
+#define NS3_MODULE NS3_CORE_MODULE
+#include "ns3/ns3-export.h"
+
/**
* \file
* \ingroup tracing
@@ -43,7 +47,7 @@
* This class abstracts the kind of trace source to which we want to connect
* and provides services to Connect and Disconnect a sink to a trace source.
*/
-class TraceSourceAccessor : public SimpleRefCount<TraceSourceAccessor>
+class NS3_EXPORT TraceSourceAccessor : public SimpleRefCount<TraceSourceAccessor>
{
public:
/** Constructor. */
« no previous file with comments | « src/core/model/timer-impl.h ('k') | src/core/model/traced-value.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b