1 /*---------------------------------------------------------------------------*
2 
3 Copyright (C) 2013-2014 Nintendo. All rights reserved.
4 
5 These coded instructions, statements, and computer programs contain
6 proprietary information of Nintendo of America Inc. and/or Nintendo
7 Company Ltd., and are protected by Federal copyright law.  They may
8 not be disclosed to third parties or copied or duplicated in any form,
9 in whole or in part, without the prior written consent of Nintendo.
10 
11  *---------------------------------------------------------------------------*/
12 
13 #ifndef NN_EC_ROOT_OBJECT_H_
14 #define NN_EC_ROOT_OBJECT_H_
15 
16 #include <types.h>
17 
18 namespace nn { namespace ec {
19 
20 //! @addtogroup nn_ec_class
21 //! @{
22 
23 /*!
24 @brief Base class.
25 */
26 class RootObject
27 {
28 public:
29     //
30     void* operator new(size_t size);
31     //
32     void* operator new[](size_t size);
33 
34     //
35     void* operator new(size_t size, void* pMemory);
36     //
37     void* operator new[](size_t size, void* pMemory);
38 
39     //
40     void operator delete(void* pMemory);
41     //
42     void operator delete[](void* pMemory);
43 };
44 
45 //! @}
46 
47 }} // namespace nn::ec
48 
49 #endif // NN_EC_ROOT_OBJECT_H_
50