forked from KolibriOS/kolibrios
uPDF with buttons
git-svn-id: svn://kolibrios.org@4680 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
36
contrib/media/updf/include/stdcommandline.h
Normal file
36
contrib/media/updf/include/stdcommandline.h
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
#ifndef __stdcommandline_h__
|
||||
#define __stdcommandline_h__
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <signal.h>
|
||||
#ifndef WIN32
|
||||
# include <unistd.h>
|
||||
# include <termios.h>
|
||||
#endif
|
||||
#include <time.h>
|
||||
|
||||
#include "yacasbase.h"
|
||||
#include "commandline.h"
|
||||
/** Simple no-frills implementation of CCommandLine, using stdlibc-functions
|
||||
* only, and no ansi characters. No history is supported either.
|
||||
*/
|
||||
class CStdCommandLine : public CCommandLine
|
||||
{
|
||||
public:
|
||||
CStdCommandLine();
|
||||
~CStdCommandLine();
|
||||
virtual void ReadLine(LispChar * prompt);
|
||||
public:
|
||||
virtual LispInt GetKey();
|
||||
virtual void NewLine();
|
||||
virtual void ShowLine(LispChar * prompt,LispInt promptlen,LispInt cursor);
|
||||
virtual void Pause();
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user