added QSE::Exception
This commit is contained in:
@ -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);
|
||||
};
|
||||
|
||||
/////////////////////////////////
|
||||
|
@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user