12 #ifndef __CMD_Source_h__
13 #define __CMD_Source_h__
19 #define CMD_MAX_IF_NESTS 128
41 void addHistory(
const char *cmd);
51 myIfState[myIfNestLevel] = state;
53 int bumpIfNest(
int dir);
55 int getLineNumber()
const;
72 {
return myIsInteractive; }
74 { myIsInteractive = is_interactive; }
76 void pushUnfinishedCommands(
const char *);
77 bool hasUnfinishedCommands();
82 void initCommon(
const char *filename);
88 CMD_Loop *myCurrentLoop;
UT_IStream * getInputStream()
GT_API const UT_StringHolder filename
CMD_HistoryTable * getHistory()
const char * getFilename()
int getIfNestLevel() const
void setIfNestLevel(int l)
void setEchoState(int onoff)
bool isInteractive() const
void setIfState(CMD_IfState state)
GLenum GLuint GLenum GLsizei const GLchar * buf
CMD_VariableTable * getLocalVariables()
void setIsInteractive(bool is_interactive)