bindings: initial support for running external commands

This commit is contained in:
Andrzej Rybczak
2012-10-03 20:29:02 +02:00
parent f5cf0a97cc
commit 802886c2e5
4 changed files with 29 additions and 0 deletions

View File

@@ -64,4 +64,16 @@ private:
ScreenType m_screen_type;
};
struct RunExternalCommand : public Action
{
RunExternalCommand(std::string command)
: Action(aMacroUtility, ""), m_command(command) { }
protected:
virtual void Run();
private:
std::string m_command;
};
#endif // NCMPCPP_MACRO_UTILITIES_H