mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
Extensions: Added ::all
This commit is contained in:
parent
d4ac218729
commit
16999a4d50
2 changed files with 7 additions and 0 deletions
|
@ -45,6 +45,12 @@ void Extensions::initialize (const std::string& location)
|
||||||
throw std::string ("Extension directory not readable: ") + d._data;
|
throw std::string ("Extension directory not readable: ") + d._data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
std::vector <std::string> Extensions::all () const
|
||||||
|
{
|
||||||
|
return _scripts;
|
||||||
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
std::string Extensions::dump () const
|
std::string Extensions::dump () const
|
||||||
{
|
{
|
||||||
|
|
|
@ -35,6 +35,7 @@ class Extensions
|
||||||
public:
|
public:
|
||||||
Extensions () = default;
|
Extensions () = default;
|
||||||
void initialize (const std::string&);
|
void initialize (const std::string&);
|
||||||
|
std::vector <std::string> all () const;
|
||||||
std::string dump () const;
|
std::string dump () const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue