prompt.h
// Copyright (c) 1999-2018 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_PROMPT_H
#define RUDIMENTS_PROMPT_H
#include <rudiments/private/promptincludes.h>
class RUDIMENTS_DLLSPEC prompt {
public:
prompt();
virtual ~prompt();
void setHistoryFile(const char *filename);
const char *getHistoryFile();
void setMaxHistoryLines(uint32_t lines);
uint32_t getMaxHistoryLines();
void setMaxHistoryQueue(uint32_t queue);
uint32_t getMaxHistoryQueue();
void setPrompt(const char *prompt);
const char *getPrompt();
char *read();
void flushHistory();
#include <rudiments/private/prompt.h>
};
#endif
prompt
Definition: prompt.h:15
prompt::getPrompt
const char * getPrompt()
prompt::setMaxHistoryQueue
void setMaxHistoryQueue(uint32_t queue)
prompt::~prompt
virtual ~prompt()
prompt::flushHistory
void flushHistory()
prompt::getHistoryFile
const char * getHistoryFile()
prompt::getMaxHistoryLines
uint32_t getMaxHistoryLines()
prompt::setHistoryFile
void setHistoryFile(const char *filename)
prompt::read
char * read()
prompt::getMaxHistoryQueue
uint32_t getMaxHistoryQueue()
prompt::prompt
prompt()
prompt::setMaxHistoryLines
void setMaxHistoryLines(uint32_t lines)
prompt::setPrompt
void setPrompt(const char *prompt)