/*
Author:		Chris Kaynor (chris@kaynor.net)
Edited By:	

Description:		Declares the copy constructor and the assignment operator as private, preventing derived
			classes from being copied.
			
Usage:		Derive the classes from this class to prevent the class from being copied.
		
Requirements:	
		
Last Edited:	May 20th, 2008
*/
/*
Copyright 2008 Chris Kaynor

This file is part of kLibrary.

kLibrary is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation, either version 3 of
the License, or(at your option) any later version.

kLibrary is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License.
*/

#ifndef KLIBRARY_COMMON_NOCOPY_H
#define KLIBRARY_COMMON_NOCOPY_H

namespace kLibrary
{
	class NoCopy
	{
	public:
		NoCopy(void) {}

	private:
		NoCopy(const NoCopy&);
		NoCopy operator=(const NoCopy&);
	};
}

#endif //KLIBRARY_COMMON_NOCOPY_H
