*******************************************************************************/
-#ifndef _RESOURCE_HH_
-#define _RESOURCE_HH_
+#ifndef _MOOF_RESOURCE_HH_
+#define _MOOF_RESOURCE_HH_
/**
- * @file resource.hh
- * Parent class of textures, sounds, other assets.
+ * @file Resource.hh
+ * Interface for textures, sounds, and other types of resources.
*/
#include <stdexcept>
#include <vector>
-namespace dc {
+namespace Mf {
/**
* Generic resource class.
*/
-class resource
+class Resource
{
public:
- struct exception : public std::runtime_error
+ struct Exception : public std::runtime_error
{
- explicit exception(const std::string& what_arg) :
+ explicit Exception(const std::string& what_arg) :
std::runtime_error(what_arg) {}
};
- virtual ~resource();
+ virtual ~Resource();
/**
};
-} // namespace dc
+} // namespace Mf
-#endif // _RESOURCE_HH_
+#endif // _MOOF_RESOURCE_HH_
/** vim: set ts=4 sw=4 tw=80: *************************************************/