From a618be2a69a347128a4e29c879abf4a913421f52 Mon Sep 17 00:00:00 2001 From: Ashish Gupta Date: Wed, 5 Apr 2017 21:39:01 +0200 Subject: Add kolibrios/ dir : Step 1 towards porting this to Kolibri OS --- frontends/kolibrios/gui_file_table.h | 37 ++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 frontends/kolibrios/gui_file_table.h (limited to 'frontends/kolibrios/gui_file_table.h') diff --git a/frontends/kolibrios/gui_file_table.h b/frontends/kolibrios/gui_file_table.h new file mode 100644 index 000000000..2c0795fa1 --- /dev/null +++ b/frontends/kolibrios/gui_file_table.h @@ -0,0 +1,37 @@ +/* ------------------------------ */ +/* Part about GUI FILE TABLE. Will contain all functions required as well. */ +/* ------------------------------ */ +nserror kolibri_mkpath(char **str, size_t *size, size_t nemb, va_list ap) +{ + +} + +nserror kolibri_basename(const char *path, char **str, size_t *size) +{ + +} + +nserror kolibri_nsurl_to_path(struct nsurl *url, char **path) +{ + +} + +nserror kolibri_path_to_nsurl(const char *path, struct nsurl **url) +{ + +} + +nserror kolibri_mkdir_all(const char *fname) +{ + +} + + +struct gui_file_table kolibri_gui_file_table = { + /* Mandantory entries */ + .mkpath = kolibri_mkpath, + .basename = kolibri_basename, + .nsurl_to_path = kolibri_nsurl_to_path, + .path_to_nsurl = kolibri_path_to_nsurl, + .mkdir_all = kolibri_mkdir_all +}; -- cgit v1.2.3