X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FConsole%2FExecutor.hh;h=ba4cdcec02de738128400f682b0b8565a8f81b05;hb=1d95912e59f822e19e4972727fa2fa6db6b2bf63;hp=9341dedee2d18bd77144eeaa632834ef360368cb;hpb=7f1c36ac78c8aec05f857d7594ea70e865c822ef;p=senf.git diff --git a/Utils/Console/Executor.hh b/Utils/Console/Executor.hh index 9341ded..ba4cdce 100644 --- a/Utils/Console/Executor.hh +++ b/Utils/Console/Executor.hh @@ -92,7 +92,9 @@ namespace console { ///< Execute command /**< Output will be written to \a output. Same as execute(). */ + GenericNode & getNode(ParseCommandInfo const & command); DirectoryNode & cwd() const; ///< Current working directory + void cwd(DirectoryNode & dir); ///< Change current directory std::string cwdPath() const; ///< Return pathname of current directory bool skipping() const; ///< \c true, if currently skipping a directory group @@ -138,6 +140,7 @@ namespace console { void cd(ParseCommandInfo::TokensRange dir); void ls(std::ostream & output, ParseCommandInfo::TokensRange dir); + void lr(std::ostream & output, ParseCommandInfo::TokensRange dir); void pushd(ParseCommandInfo::TokensRange dir); void popd(); void exit();