added QSE::Exception

This commit is contained in:
2015-01-18 13:43:12 +00:00
parent 48536f73c9
commit 36829a55d7
6 changed files with 99 additions and 11 deletions

View File

@ -24,10 +24,11 @@
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef _QSE_CMN_STDMMGR_HPP_
#define _QSE_CMN_STDMMGR_HPP_
#ifndef _QSE_CMN_EXCMMGR_HPP_
#define _QSE_CMN_EXCMMGR_HPP_
#include <qse/cmn/Mmgr.hpp>
#include <qse/Exception.hpp>
/////////////////////////////////
QSE_BEGIN_NAMESPACE(QSE)
@ -45,6 +46,8 @@ public:
void freeMem (void* ptr);
static ExcMmgr* getDFL();
QSE_EXCEPTION (Error);
};
/////////////////////////////////

View File

@ -35,7 +35,7 @@ QSE_BEGIN_NAMESPACE(QSE)
///
/// The Mmged class defines a memory manager interface to be inherited by
/// a subclass that uses a memory manager.
/// a subclass that uses a memory manager.
///
class QSE_EXPORT Mmged
@ -48,9 +48,6 @@ public:
///
Mmgr* getMmgr () const { return this->mmgr; }
protected:
Mmgr* mmgr;
};