aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/spawn.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/spawn.h')
-rw-r--r--src/spawn.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/spawn.h b/src/spawn.h
index b6cb298..57b4f72 100644
--- a/src/spawn.h
+++ b/src/spawn.h
@@ -22,6 +22,7 @@
#include "sciteco.h"
#include "parser.h"
+#include "qregisters.h"
gchar **parse_shell_command_line(const gchar *cmdline, GError **error);
@@ -49,8 +50,17 @@ private:
State *done(const gchar *str);
};
+class StateEGCommand : public StateExpectQReg {
+public:
+ StateEGCommand() : StateExpectQReg(true) {}
+
+private:
+ State *got_register(QRegister &reg);
+};
+
namespace States {
extern StateExecuteCommand executecommand;
+ extern StateEGCommand egcommand;
}
#endif