#include "modelCDMFile.h"
+#include <fstream>
#include <creaWx.h>
#include <wx/dir.h>
this->path = path;
this->type = wxDIR_FILES;
+
+ std::ifstream in(path.c_str(), std::ifstream::in | std::ifstream::binary);
+ in.seekg(0, std::ifstream::end);
+ this->length = in.tellg();
+
}
modelCDMFile::~modelCDMFile()