* ---------------------------------------------------
*/
-#ifndef __BASE_H__
-#define __BASE_H__
+#ifndef BASE_H
+#define BASE_H
#include <map>
#include <deque>
};
template <typename T>
-class reference
+class CoreExport reference
{
T* value;
public:
inline bool operator>(const reference<T>& other) const { return value > other.value; }
static inline void* operator new(size_t, void* m) { return m; }
private:
+#ifndef WIN32
static void* operator new(size_t);
static void operator delete(void*);
+#endif
};
/** This class can be used on its own to represent an exception, or derived to represent a module-specific exception.
}
};
+class Module;
class CoreExport ModuleException : public CoreException
{
public: