diff options
Diffstat (limited to 'got.h')
-rw-r--r-- | got.h | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -0,0 +1,26 @@ +#pragma once + +#include <vector> +#include <string> +#include <optional> + + +namespace got { + // The path to the database + std::string getDBpath(); + + // Returns {sheet, note} + std::optional<std::pair<std::string, std::string>> getRunning(); + + // Returns names of sheets occurring in the database + std::vector<std::string> getSheets(); + + // Change the description of the currently running task to the given string + void editRunning(const std::string &descr); + + // Check out of any current task + void checkOut(); + + // Check into the given sheet + void checkIn(const std::string &sheet); +} |