Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5496 | leency | 1 | |
2 | #define __stdcommandline_h__ |
||
3 | |||
4 | |||
5 | #include |
||
6 | #include |
||
7 | #include |
||
8 | #include |
||
9 | #ifndef WIN32 |
||
10 | # include |
||
11 | # include |
||
12 | #endif |
||
13 | #include |
||
14 | |||
15 | |||
16 | #include "commandline.h" |
||
17 | /** Simple no-frills implementation of CCommandLine, using stdlibc-functions |
||
18 | * only, and no ansi characters. No history is supported either. |
||
19 | */ |
||
20 | class CStdCommandLine : public CCommandLine |
||
21 | { |
||
22 | public: |
||
23 | CStdCommandLine(); |
||
24 | ~CStdCommandLine(); |
||
25 | virtual void ReadLine(LispChar * prompt); |
||
26 | public: |
||
27 | virtual LispInt GetKey(); |
||
28 | virtual void NewLine(); |
||
29 | virtual void ShowLine(LispChar * prompt,LispInt promptlen,LispInt cursor); |
||
30 | virtual void Pause(); |
||
31 | }; |
||
32 | |||
33 | |||
34 | |||
35 |