#include "map-tile-repo.h"
+/**
+ * map_tile_repo_new:
+ *
+ * Create a new empty Map image tile repository structure.
+ *
+ */
RepoData *
map_tile_repo_new(void)
{
-return g_new0(RepoData, 1);
+RepoData *rd;
+rd=g_new0(RepoData, 1);
+rd->min_zoom=0;
+rd->max_zoom=17;
+return rd;
}
+/**
+ * map_tile_repo_new_from_string:
+ * @str
+ *
+ * Create a new Map image tile repository structure by filling in values from given configuration string.
+ *
+ */
RepoData *
map_tile_repo_new_from_string(gchar *str)
{
return rd;
}
-
+/**
+ * map_tile_repo_free:
+ * @rd
+ *
+ * Free a map image tile repository
+ */
void
map_tile_repo_free(RepoData *rd)
{
return FALSE;
return g_file_test(rd->cache_dir, G_FILE_TEST_EXISTS);
}
-