Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 114 vs 149 for /trunk/Source Code/Core/Headers/Console.h

Diff revisions: vs.
  @@ -16,9 +16,12 @@
16 16 void d_errorfn(char* format, ...);
17 17 void d_errorf(char* format, ...);
18 18 inline void toggleTimeStamps(bool state){_timestamps = state;}
19 + inline void bindConsoleOutput(boost::function2<void, std::string, bool > guiConsoleCallback) {_guiConsoleCallback = guiConsoleCallback;}
20 +
19 21 private:
20 22 void output(const std::string& text,bool error = false);
21 23 boost::mutex io_mutex;
24 + boost::function2<void, std::string, bool > _guiConsoleCallback;
22 25 bool _timestamps;
23 26
24 27 END_SINGLETON