mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
Rules: Added rule accessor
This commit is contained in:
parent
26a8c16c9e
commit
004a879bae
2 changed files with 11 additions and 0 deletions
|
@ -28,6 +28,14 @@
|
|||
#include <Rules.h>
|
||||
#include <sstream>
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// define r:
|
||||
// name value
|
||||
std::string Rules::get (const std::string& rule, const std::string& name) const
|
||||
{
|
||||
return ""; // TODO Replace
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
std::string Rules::dump () const
|
||||
{
|
||||
|
|
|
@ -33,7 +33,10 @@ class Rules
|
|||
{
|
||||
public:
|
||||
Rules () = default;
|
||||
std::string get (const std::string&, const std::string&) const;
|
||||
std::string dump () const;
|
||||
|
||||
private:
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue