12 #ifndef __CMD_Source_h__
13 #define __CMD_Source_h__
20 #define CMD_MAX_IF_NESTS 128
46 void addHistory(
const char *cmd);
56 myIfState[myIfNestLevel] = state;
58 int bumpIfNest(
int dir);
60 int getLineNumber()
const;
77 {
return myIsInteractive; }
79 { myIsInteractive = is_interactive; }
81 void pushUnfinishedCommands(
const char *);
82 bool hasUnfinishedCommands();
87 void initCommon(
const char *filename);
93 CMD_Loop *myCurrentLoop;
UT_IStream * getInputStream()
GLenum GLuint GLenum GLsizei const GLchar * buf
GT_API const UT_StringHolder filename
CMD_HistoryTable * getHistory()
const char * getFilename()
int getIfNestLevel() const
void setIfNestLevel(int l)
void setEchoState(int onoff)
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
bool isInteractive() const
void setIfState(CMD_IfState state)
CMD_VariableTable * getLocalVariables()
void setIsInteractive(bool is_interactive)