summaryrefslogtreecommitdiffstats
path: root/src/libktorrent/util/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libktorrent/util/log.h')
-rw-r--r--src/libktorrent/util/log.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libktorrent/util/log.h b/src/libktorrent/util/log.h
index 742b753..62260b7 100644
--- a/src/libktorrent/util/log.h
+++ b/src/libktorrent/util/log.h
@@ -23,6 +23,7 @@
#include "constants.h"
+#include <libktorrent_export.h>
#include <tqstring.h>
// LOG MESSAGES CONSTANTS
@@ -75,7 +76,7 @@ namespace bt
* There is also the possibility to monitor what is written to the log using
* the LogMonitorInterface class.
*/
- class Log
+ class LIBKTORRENT_EXPORT Log
{
class Private;
@@ -195,10 +196,10 @@ namespace bt
void logRotateDone();
};
- Log & endl(Log & lg);
+ LIBKTORRENT_EXPORT Log & endl(Log & lg);
- Log & Out(unsigned int arg = 0x00);
+ LIBKTORRENT_EXPORT Log & Out(unsigned int arg = 0x00);
inline Log & GenOut(unsigned int arg) {return Out(SYS_GEN|arg);}
inline Log & DHTOut(unsigned int arg) {return Out(SYS_DHT|arg);}
inline Log & ConOut(unsigned int arg) {return Out(SYS_CON|arg);}