system/helpers.cpp: add code to get hdd standby/active status and flush hdd buffers

This commit is contained in:
[CST] Focus
2014-02-05 13:08:03 +04:00
parent 201022450c
commit 097e05c083
2 changed files with 76 additions and 0 deletions

View File

@@ -43,6 +43,9 @@ void mySleep(int sec);
std::string find_executable(const char *name);
bool hdd_get_standby(const char * fname);
void hdd_flush(const char * fname);
std::string getPathName(std::string &path);
std::string getBaseName(std::string &path);
std::string getFileName(std::string &file);