💾 Archived View for gmi.noulin.net › gitRepositories › easydoneitCTui › file › edCore.h.gmi captured on 2024-07-09 at 00:15:15. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
edCore.h (2699B)
1 2 const char *create_task(const char *group); 3 void edit_task(const char *tid); 4 const char *delete_task(const char *tid); 5 bool is_linked(const char *tid); 6 const char *generate_task_path(const char *tid); 7 const char *find_group_containing_task(const char *tid); 8 const char *get_status(const char *tid); 9 bool is_this_task_a_group(const char *tid); 10 i64 baseconvert_to_dec(const char *n); 11 void add_task_reference_to_a_group(const char *tid, smallStringt *group); 12 smallArrayt *create_group(const char *tid); 13 const char *find_group_in_tree(const char *group); 14 const char *delete_linked_task(const char *group, const char *tid); 15 void set_status(const char *tid, i16 status_number); 16 void start(char *interface); 17 smallArrayt *list_group(const char *tid); 18 smallArrayt *listBookmarks(void); 19 smallArrayt *display_task(const char *tid, smallStringt *titleFunc(const char *, smallStringt *)); 20 smallStringt *passThroughTitle(const char *tid, smallStringt *s); 21 smallStringt *get_task_title(const char *tid); 22 const char *select_database(char *location); 23 smallArrayt *listTasksInList(smallArrayt *list); 24 smallArrayt *listTasksInGroup(const char *tid); 25 smallArrayt *listTasksInBookmarks(void); 26 smallArrayt *show_group_for_task(const char *tid); 27 smallArrayt *search_string_in_tree(const char *group, const char *search); 28 smallDictt *get_task_in_list_group_format(const char *tid); 29 smallArrayt *create_group(const char *tid); 30 const char *convert_group_to_task(const char *group); 31 const char *copy_task_to_a_group(const char *tid, const char *group); 32 const char *copy_task_to_database(const char *tid, const char *location, const char *group); 33 const char *move_task_to_a_group(const char *tgroup, const char *tid, const char *group); 34 const char *move_task_to_a_group_to_database(const char *tgroup, const char *tid, const char *location, const char *group); 35 bool tid_exists(const char *tid); 36 bool setup_data_location_for_tid(const char *tid); 37 void save_edi_core_data_location(void); 38 void restore_edi_core_data_location(void); 39 const char *getDatabaseNameFromPath(const char *database_path); 40 41 void test(void); 42 43 extern smallDictt *ini; 44 extern char *data_location; 45 extern char *saved_data_location; 46 47 /** Length of task id */ 48 #define ID_LENGTH 16 49 50 extern char *add_top_or_bottom; 51 52 extern smallArrayt *selected; 53 54 extern char *TASK_STATUS[]; 55 extern char **TASK_STATUS_TRIM; 56 extern char *STATUS_FILTER_STATES[]; 57 58 #define TASK_STATUS_ACTIVE 0 59 #define TASK_STATUS_DONE 1 60 #define TASK_STATUS_ONGOING 2 61 #define TASK_STATUS_PENDING 3 62 #define TASK_STATUS_INACTIVE 4 63 #define TASK_STATUS_VOID 5 64 65 enum {ENABLE, DISABLE}; 66 67 extern smallArrayt *status_filters; 68 69 extern smallDictt *status_filters_d; 70 71 extern smallArrayt *bookmarks;