Browse Subversion Repository
Contents of /trunk/Classes/RubyConsoleWindowController.h
Parent Directory
| Revision Log
Revision 117 -
( show annotations)
( download)
( as text)
Sun Oct 1 03:33:45 2017 UTC
(6 years, 7 months ago)
by toshinagata1964
File MIME type: text/x-chdr
File size: 1044 byte(s)
Sizes of the integer types are reconsidered.
| 1 |
// |
| 2 |
// RubyConsoleWindowController.h |
| 3 |
// Alchemusica |
| 4 |
// |
| 5 |
// Created by Toshi Nagata on 09/03/01. |
| 6 |
// Copyright 2009-2016 Toshi Nagata. All rights reserved. |
| 7 |
// |
| 8 |
/* |
| 9 |
This program is free software; you can redistribute it and/or modify |
| 10 |
it under the terms of the GNU General Public License as published by |
| 11 |
the Free Software Foundation version 2 of the License. |
| 12 |
|
| 13 |
This program is distributed in the hope that it will be useful, |
| 14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 |
GNU General Public License for more details. |
| 17 |
*/ |
| 18 |
|
| 19 |
#import <Cocoa/Cocoa.h> |
| 20 |
|
| 21 |
#define MAX_HISTORY_LINES 1000 |
| 22 |
|
| 23 |
@interface RubyConsoleWindowController : NSWindowController { |
| 24 |
IBOutlet NSTextView *consoleView; |
| 25 |
NSColor *defaultColor; |
| 26 |
|
| 27 |
// History support |
| 28 |
char **valueHistory, **commandHistory; |
| 29 |
int nValueHistory, nCommandHistory; |
| 30 |
int valueHistoryIndex, commandHistoryIndex; |
| 31 |
int32_t historyPos; |
| 32 |
int32_t keyInputPos; |
| 33 |
} |
| 34 |
+ (RubyConsoleWindowController *)sharedRubyConsoleWindowController; |
| 35 |
|
| 36 |
@end |
|