Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 167 vs 168 for /trunk/Source Code/Core/Headers/Console.h

Diff revisions: vs.
  @@ -6,7 +6,7 @@
6 6 #include <boost/function.hpp>
7 7
8 8 DEFINE_SINGLETON(Console)
9 - typedef boost::function2<void, std::string, bool > consolePrintCallback;
9 + typedef boost::function2<void, const char*, bool > consolePrintCallback;
10 10
11 11 public:
12 12 void printCopyrightNotice() const;
  @@ -24,8 +24,10 @@
24 24 inline void toggleTimeStamps(const bool state) {_timestamps = state;}
25 25 inline void bindConsoleOutput(const consolePrintCallback& guiConsoleCallback) {_guiConsoleCallback = guiConsoleCallback;}
26 26
27 + protected:
28 + void output(const char* text,const bool error = false) const;
29 +
27 30 private:
28 - void output(const std::string& text,const bool error = false) const;
29 31 mutable boost::mutex io_mutex;
30 32 consolePrintCallback _guiConsoleCallback;
31 33 bool _timestamps;