blob: ddde7a1c92a4967649cc198047c78c151c87efb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef __JE_NONCOPYABLE_H__
#define __JE_NONCOPYABLE_H__
#include "object.h"
namespace JinEngine
{
///
/// Class inherites this could not be copied.
///
class Noncopyable : public Object
{
public:
Noncopyable(void) { }
virtual ~Noncopyable(void) { }
private:
Noncopyable(const Noncopyable& other);
Noncopyable& operator=(const Noncopyable& other);
};
} // namespace JinEngine
#endif
|