Implemented Packages, + some minor tweaks to headers

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@6 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-10-07 13:10:39 +00:00
parent 331423bd07
commit c1717e7055
6 changed files with 600 additions and 14 deletions
+8
View File
@@ -48,6 +48,14 @@ class PackageError : public Error {
inline PackageError(const String& str) : Error(str) {}
};
/// A file is not found
class FileNotFoundError : public PackageError {
public:
inline FileNotFoundError(const String& file, const String& package)
: PackageError(_("File not found: ") + file + _(" in package ") + package)
{}
};
// ----------------------------------------------------------------------------- : Parse errors
/// Parse errors