diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2013-01-23 19:02:15 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2013-01-23 19:02:15 +0100 |
commit | 2584da63706f564f3a9d221be685b4b47b5e30b2 (patch) | |
tree | f9a80305a8ff301306c88ce9547353789c2885f5 /src/parser.h | |
parent | 4c37f988b68b35d2510de25a185e091e692d00d5 (diff) | |
download | sciteco-2584da63706f564f3a9d221be685b4b47b5e30b2.tar.gz |
moved StateExpectQReg from parser.h to qregisters.h
* parser.cpp|h should be reserved for generic and misc. stuff.
the StateExpectQReg class is used almost exclusively by qregisters.cpp|h
* resolves a circular header dependency issue
Diffstat (limited to 'src/parser.h')
-rw-r--r-- | src/parser.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/parser.h b/src/parser.h index 5f5f289..69a6d93 100644 --- a/src/parser.h +++ b/src/parser.h @@ -151,28 +151,6 @@ protected: virtual State *done(const gchar *str) throw (Error) = 0; }; -class QRegister; - -/* - * Super class for states accepting Q-Register specifications - */ -class StateExpectQReg : public State { - bool got_local; - -public: - StateExpectQReg(); - -private: - State *custom(gchar chr) throw (Error); - -protected: - /* - * FIXME: would be nice to pass reg as reference, but there are - * circular header dependencies... - */ - virtual State *got_register(QRegister *reg) throw (Error) = 0; -}; - class StateStart : public State { public: StateStart(); |