mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
helper: Added initializeFilterFromCLI
This commit is contained in:
parent
902a23befc
commit
1501fc2ace
2 changed files with 10 additions and 0 deletions
|
@ -106,3 +106,11 @@ void expandIntervalHint (
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
Filter initializeFilterFromCLI (const CLI& cli)
|
||||||
|
{
|
||||||
|
Filter f;
|
||||||
|
|
||||||
|
return f;
|
||||||
|
}
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
|
@ -32,6 +32,7 @@
|
||||||
#include <Rules.h>
|
#include <Rules.h>
|
||||||
#include <Extensions.h>
|
#include <Extensions.h>
|
||||||
#include <Interval.h>
|
#include <Interval.h>
|
||||||
|
#include <Filter.h>
|
||||||
#include <Color.h>
|
#include <Color.h>
|
||||||
|
|
||||||
// init.cpp
|
// init.cpp
|
||||||
|
@ -45,6 +46,7 @@ int dispatchCommand (const CLI&, Database&, Rules&, const Extensions&);
|
||||||
Color tagColor (const Rules&, const std::string&);
|
Color tagColor (const Rules&, const std::string&);
|
||||||
std::string intervalSummarize (const Rules&, const Interval&);
|
std::string intervalSummarize (const Rules&, const Interval&);
|
||||||
void expandIntervalHint (const std::string&, std::string&, std::string&);
|
void expandIntervalHint (const std::string&, std::string&, std::string&);
|
||||||
|
Filter initializeFilterFromCLI (const CLI&);
|
||||||
|
|
||||||
// utiŀ.cpp
|
// utiŀ.cpp
|
||||||
std::string osName ();
|
std::string osName ();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue