aboutsummaryrefslogtreecommitdiff
path: root/Source/System.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/System.h')
-rw-r--r--Source/System.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/System.h b/Source/System.h
index 6938d6a..e2d22dc 100644
--- a/Source/System.h
+++ b/Source/System.h
@@ -130,6 +130,10 @@ void SystemCalculateSine(void);
unsigned char SystemGetSineValue(void);
+// Fills str with only file name and extension given input file path.
+// For example: "FOLDER\\FOLDER\\MYFILE.EXT;1" -> "MYFILE.EXT"
+void SystemGetFileBasename(const char* fileName, char* str, size_t sz);
+
/* **************************************
* Global Variables *
* **************************************/