]> git.tdb.fi Git - libs/core.git/blobdiff - source/io/console.h
Add decorations for things which are considered part of the API
[libs/core.git] / source / io / console.h
index ac66288832966bd4bf67355519ce2bed5d43170a..1755659f9f5b3c0d7e93d3670decf4157d034fdb 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef MSP_IO_CONSOLE_H_
 #define MSP_IO_CONSOLE_H_
 
+#include <msp/core/mspcore_api.h>
 #include "eventobject.h"
 #include "handle.h"
 
@@ -12,7 +13,7 @@ Provides access to standard input, output and error streams.  This class can't
 be instantiated directly - use one of the cin, cout and cerr references
 instead.
 */
-class Console: public EventObject
+class MSPCORE_API Console: public EventObject
 {
 public:
        enum Stream
@@ -64,9 +65,9 @@ public:
        static Console &instance(Stream);
 };
 
-extern Console &cin;
-extern Console &cout;
-extern Console &cerr;
+MSPCORE_API extern Console &cin;
+MSPCORE_API extern Console &cout;
+MSPCORE_API extern Console &cerr;
 
 } // namespace IO
 } // namespace Msp