-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Save Entires and Sort by Last Ran by default
Also added "Sort By" Menu Added with "Last Ran", "Most Ran", and "Least Ran" as options.
- Loading branch information
1 parent
03745b4
commit a179aab
Showing
7 changed files
with
187 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,37 @@ | ||
#include <stdbool.h> | ||
#include <stdlib.h> | ||
#include <string.h> | ||
|
||
/* | ||
* Try to download a file from "url" to "destination" with "data" | ||
* being passed to "callback". | ||
*/ | ||
bool download(void * data, | ||
int (*callback)(void*, double, double, double, double), | ||
const char * url, const char * destination | ||
); | ||
|
||
/* | ||
* Returns true if "string" starts with or is the same as "prefix". | ||
*/ | ||
bool starts_with(const char * string, const char * prefix); | ||
|
||
/* ====================================================================== | ||
* Time Functions | ||
* | ||
* Time is stored as a string, in a format similar to ISO 8601: | ||
* YYYYMMDDhhmmss | ||
* Ex: July 20, 1969 at 20:18:00 is "19690720201800" | ||
*/ | ||
|
||
/* | ||
* Return the current time in YYYYMMDDhhmmss format on the glib heap. | ||
*/ | ||
char * get_time_string(); | ||
|
||
/* | ||
* Compare 2 time strings, returns true if "a" is more recent than "b" | ||
*/ | ||
//bool compare_time_strings(const char * a, const char * b) | ||
#define compare_time_strings(a, b) (strcmp((a), (b)) < 0) | ||
|