mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-12 05:43:18 +00:00
Add Unscheduled tasks
This commit is contained in:
parent
07081bb27b
commit
53b1280115
13 changed files with 134 additions and 12 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "BaseSource.h"
|
||||
#include "DateTime.h"
|
||||
#include "Day.h"
|
||||
#include "Event.h"
|
||||
|
@ -23,13 +24,13 @@ namespace mirai
|
|||
struct MiraiMarkdownFormatParseResult {
|
||||
std::string name;
|
||||
std::vector<DayData> days;
|
||||
std::vector<TaskItemData> unscheduledTasks;
|
||||
};
|
||||
|
||||
class TodoMdFormat
|
||||
{
|
||||
public:
|
||||
static std::string
|
||||
stringify(const std::string &name, const std::vector<std::unique_ptr<Day>> &days);
|
||||
static std::string stringify(BaseSource &source);
|
||||
|
||||
static MiraiMarkdownFormatParseResult parse(const std::string &content);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue