From 063aa8b3f1f9907137ecbb0ba7bf2087987947e5 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Sat, 6 Dec 2014 17:29:06 -0500 Subject: [PATCH] Added functions to filesystem header --- src/openalpr/support/filesystem.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/openalpr/support/filesystem.h b/src/openalpr/support/filesystem.h index 5b4e214..0aaaac3 100644 --- a/src/openalpr/support/filesystem.h +++ b/src/openalpr/support/filesystem.h @@ -11,6 +11,7 @@ #include #endif +#include #include #include #include @@ -26,6 +27,9 @@ namespace alpr std::string filenameWithoutExtension(std::string filename); + long getFileSize(std::string filename); + long getFileCreationTime(std::string filename); + bool DirectoryExists( const char* pzPath ); bool fileExists( const char* pzPath ); std::vector getFilesInDir(const char* dirPath);