mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
Datafile: Added name accessor
This commit is contained in:
parent
86b11ea54e
commit
eebc2afaaf
2 changed files with 7 additions and 0 deletions
|
@ -35,6 +35,12 @@ void Datafile::initialize (const std::string& name)
|
|||
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
std::string Datafile::name () const
|
||||
{
|
||||
return _name;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
std::string Datafile::dump () const
|
||||
{
|
||||
|
|
|
@ -35,6 +35,7 @@ class Datafile
|
|||
public:
|
||||
Datafile () = default;
|
||||
void initialize (const std::string&);
|
||||
std::string name () const;
|
||||
std::string dump () const;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue