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

Origin commit data
------------------
Commit: 097e05c083
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-02-05 (Wed, 05 Feb 2014)
This commit is contained in:
[CST] Focus
2014-02-05 13:08:03 +04:00
parent 51d0de467b
commit 3fcb1867b5
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);