diff options
Diffstat (limited to 'daemon/LocalCapture.cpp')
-rw-r--r-- | daemon/LocalCapture.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/daemon/LocalCapture.cpp b/daemon/LocalCapture.cpp index baa3dd9..3235a34 100644 --- a/daemon/LocalCapture.cpp +++ b/daemon/LocalCapture.cpp | |||
@@ -16,6 +16,7 @@ | |||
16 | #include "SessionData.h" | 16 | #include "SessionData.h" |
17 | #include "Logging.h" | 17 | #include "Logging.h" |
18 | #include "OlyUtility.h" | 18 | #include "OlyUtility.h" |
19 | #include "EventsXML.h" | ||
19 | 20 | ||
20 | LocalCapture::LocalCapture() {} | 21 | LocalCapture::LocalCapture() {} |
21 | 22 | ||
@@ -40,6 +41,10 @@ void LocalCapture::write(char* string) { | |||
40 | logg->logError(__FILE__, __LINE__, "Error writing %s\nPlease verify the path.", file); | 41 | logg->logError(__FILE__, __LINE__, "Error writing %s\nPlease verify the path.", file); |
41 | handleException(); | 42 | handleException(); |
42 | } | 43 | } |
44 | |||
45 | // Write events XML | ||
46 | EventsXML eventsXML; | ||
47 | eventsXML.write(gSessionData->mAPCDir); | ||
43 | } | 48 | } |
44 | 49 | ||
45 | char* LocalCapture::createUniqueDirectory(const char* initialPath, const char* ending) { | 50 | char* LocalCapture::createUniqueDirectory(const char* initialPath, const char* ending) { |