mirror of https://github.com/bsnes-emu/bsnes.git
23 lines
408 B
C++
23 lines
408 B
C++
|
@interface CocoaConsole : NSScrollView {
|
||
|
@public
|
||
|
phoenix::Console* console;
|
||
|
}
|
||
|
-(id) initWith:(phoenix::Console&)console;
|
||
|
@end
|
||
|
|
||
|
namespace phoenix {
|
||
|
|
||
|
struct pConsole : public pWidget {
|
||
|
Console& console;
|
||
|
CocoaConsole* cocoaConsole = nullptr;
|
||
|
|
||
|
void print(string text);
|
||
|
void reset();
|
||
|
|
||
|
pConsole(Console& console) : pWidget(console), console(console) {}
|
||
|
void constructor();
|
||
|
void destructor();
|
||
|
};
|
||
|
|
||
|
}
|