#ifndef CCACHE #define CCACHE #include #include #include #include #include "loader/disc.h" //#include "gecko.hpp" using namespace std; const char io[2][3] = { "wb", "rb", }; enum CMode { SAVE, LOAD, }; class CCache { public: CCache(vector &list, string path, CMode mode); ~CCache(); private: void SaveAll(vector list); void LoadAll(vector &list); FILE *cache; string filename; }; #endif