windows-startup.hh 670 Bytes
Newer Older
1

Jan's avatar
Jan committed
2
#include "StackWalker/StackWalker.hh"
3
4
5
6
7
8
9
10
11

/* ==========================================================
 *
 * Stackwalker code. Used to get a backtrace if OpenFlipper
 * crashes under windows
 *
 * ==========================================================*/


Jan's avatar
Jan committed
12
13
14
15
16
class StackWalkerToConsole : public StackWalker
{
protected:
    virtual void OnOutput(LPCSTR szText) override;
};
17
18
19
20
21
22
23
24
25


/* ==========================================================
 *
 * Console for Windows to get additional output written via
 * cerr, cout, ... that is not forwarded to log window
 *
 * ==========================================================*/

Jan's avatar
Jan committed
26
27
void connect_console();
void attachConsole();