aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/common/noncopyable.h
blob: 2a9a71e27fe61210c6b20bd05cf34696ad54d9f2 (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