X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fio%2Fconsole.h;fp=source%2Fio%2Fconsole.h;h=1755659f9f5b3c0d7e93d3670decf4157d034fdb;hp=ac66288832966bd4bf67355519ce2bed5d43170a;hb=5d3a5019399f97af0371f4fd6dc415d36de6ac3a;hpb=5d51c374869f13f762039f58c03f3c5d75c12f07 diff --git a/source/io/console.h b/source/io/console.h index ac66288..1755659 100644 --- a/source/io/console.h +++ b/source/io/console.h @@ -1,6 +1,7 @@ #ifndef MSP_IO_CONSOLE_H_ #define MSP_IO_CONSOLE_H_ +#include #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