| // SwiftShader Software Renderer |
| // Copyright(c) 2005-2012 TransGaming Inc. |
| // All rights reserved. No part of this software may be copied, distributed, transmitted, |
| // transcribed, stored in a retrieval system, translated into any human or computer |
| // language by any means, or disclosed to third parties without the explicit written |
| // agreement of TransGaming Inc. Without such an agreement, no rights or licenses, express |
| // or implied, including but not limited to any patent rights, are granted to you. |
| // angleutils.h: Common ANGLE utilities. |
| #ifndef COMMON_ANGLEUTILS_H_ |
| #define COMMON_ANGLEUTILS_H_ |
| // A macro to disallow the copy constructor and operator= functions |
| // This must be used in the private: declarations for a class |
| #define DISALLOW_COPY_AND_ASSIGN(TypeName) \ |
| TypeName(const TypeName&); \ |
| void operator=(const TypeName&) |
| #endif // COMMON_ANGLEUTILS_H_ |