From 71340a99dc4bf43ea110a76c0ed3bbccd8989f22 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Wed, 13 Mar 2013 17:16:18 +0100 Subject: common parent state for all file-name-expecting commands: fixes EM tab-completions * StateExpectFile adds no functionality (currently), but is useful for checking state types --- src/ring.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ring.h') diff --git a/src/ring.h b/src/ring.h index ab92b25..3f13d6a 100644 --- a/src/ring.h +++ b/src/ring.h @@ -215,7 +215,7 @@ public: * Command states */ -class StateEditFile : public StateExpectString { +class StateEditFile : public StateExpectFile { private: bool allowFilename; @@ -226,7 +226,7 @@ private: State *done(const gchar *str) throw (Error); }; -class StateSaveFile : public StateExpectString { +class StateSaveFile : public StateExpectFile { private: State *done(const gchar *str) throw (Error); }; -- cgit v1.2.3