diff options
Diffstat (limited to 'src/mac/gss/CGSSWindow.cp')
-rw-r--r-- | src/mac/gss/CGSSWindow.cp | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/src/mac/gss/CGSSWindow.cp b/src/mac/gss/CGSSWindow.cp new file mode 100644 index 000000000..49e7464a0 --- /dev/null +++ b/src/mac/gss/CGSSWindow.cp @@ -0,0 +1,52 @@ +#include "CGSSWindow.h" + +const PaneIDT text_Output = 903; + +CGSSWindow::CGSSWindow (): + LWindow () +{ +}; + +CGSSWindow::CGSSWindow ( + LStream* inStream): + LWindow (inStream) +{ +} + +CGSSWindow::~CGSSWindow () +{ +} + +CGSSWindow* +CGSSWindow::CreateGSSWindow ( + ResIDT inWindowID, + LCommander* inSuperCommander) +{ + return (CGSSWindow*) LWindow::CreateWindow (inWindowID, inSuperCommander); +} + +CGSSWindow* +CGSSWindow::CreateGSSWindowStream ( + LStream* inStream) +{ + return new CGSSWindow (inStream); +} + +Boolean +CGSSWindow::ObeyCommand ( + CommandT inCommand, + void *ioParam) +{ + switch (inCommand) + { + case cmd_Close: + // Quit when we close the window + // We shouldn't get this message because the close box is disabled + GetSuperCommander () -> ObeyCommand (cmd_Quit); + return true; + break; + + default: + return LWindow::ObeyCommand (inCommand, ioParam); + } +} |