Added an enum for opening success (E_NOERROR) common to all the imported

This commit is contained in:
Paolo Cignoni 2016-11-24 11:59:50 +01:00
parent aa8cf5f4ae
commit a52d3149b1
1 changed files with 3 additions and 0 deletions

View File

@ -93,6 +93,9 @@ return lastType;
}
public:
enum ImporterError {
E_NOERROR =0 // No error =0 is the standard for ALL the imported files.
};
// simple aux function that returns true if a given file has a given extesnion
static bool FileExtension(std::string filename, std::string extension)
{