summaryrefslogtreecommitdiff
path: root/src/command_manager.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2014-04-08 19:54:32 +0100
committerMaxime Coste <frrrwww@gmail.com>2014-04-08 19:55:31 +0100
commit20d20ae1dc0946a0b77ff4fb5d1bd2754ccb7ed3 (patch)
tree2984c08bf4554227f99312f267730bc9dd1897c5 /src/command_manager.hh
parent341311c442113c54201d389287cdfd7c2121806f (diff)
formatting changes in command_manager.cc
Diffstat (limited to 'src/command_manager.hh')
-rw-r--r--src/command_manager.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/command_manager.hh b/src/command_manager.hh
index c7dd2a49..e379e9cf 100644
--- a/src/command_manager.hh
+++ b/src/command_manager.hh
@@ -57,6 +57,8 @@ private:
std::vector<ArgumentCompleter> m_completers;
};
+using CommandInfo = std::pair<String, String>;
+
class CommandManager : public Singleton<CommandManager>
{
public:
@@ -67,7 +69,7 @@ public:
Completions complete(const Context& context, CompletionFlags flags,
const String& command_line, ByteCount cursor_pos);
- std::pair<String, String> command_info(const String& command_line) const;
+ CommandInfo command_info(const String& command_line) const;
bool command_defined(const String& command_name) const;