Added openAlpr support library

This commit is contained in:
Matt Hill
2014-01-02 16:01:35 -06:00
parent 405fcdb3a2
commit 9aea5c3f00
9 changed files with 1551 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
#ifndef FILESYSTEM_H
#define FILESYSTEM_H
#ifdef WINDOWS
#include "windows/dirent.h"
#include "windows/utils.h"
#include "windows/unistd_partial.h"
#else
#include <dirent.h>
#include <unistd.h>
#endif
#include <fstream>
#include <iostream>
#include <stdio.h>
#include <string.h>
#include <vector>
bool hasEnding (std::string const &fullString, std::string const &ending);
bool DirectoryExists( const char* pzPath );
bool fileExists( const char* pzPath );
std::vector<std::string> getFilesInDir(const char* dirPath);
bool stringCompare( const std::string &left, const std::string &right );
#endif // FILESYSTEM_H