#ifndef FSYS_CLASS_H_INCLUDED #define FSYS_CLASS_H_INCLUDED #include #include using namespace std; //return value for errors on the operation #define FSYS_ERROR 1 #define FSYS_FAILURE 2 class fsys_class{ public: fsys_class(const char*); fsys_class(const string&); fsys_class(); ~fsys_class(); string gpath(); string gfilename(); //functions bool is_file(); bool is_folder(); int move_to(const string&); int copy_to(const string&); int del(); int create(const string&); //only for folders int rename(const string&); //folder only functions vector sub_stuff(); //------------------------ //variables bool use_system; //in case of copy/delete/create fail, it will use a command line command if this is true private: string path; }; #endif // FSYS_CLASS_H_INCLUDED