John Bauman | 19bac1e | 2014-05-06 15:23:49 -0400 | [diff] [blame^] | 1 | // SwiftShader Software Renderer |
John Bauman | 8940182 | 2014-05-06 15:04:28 -0400 | [diff] [blame] | 2 | // |
John Bauman | 19bac1e | 2014-05-06 15:23:49 -0400 | [diff] [blame^] | 3 | // Copyright(c) 2005-2012 TransGaming Inc. |
| 4 | // |
| 5 | // All rights reserved. No part of this software may be copied, distributed, transmitted, |
| 6 | // transcribed, stored in a retrieval system, translated into any human or computer |
| 7 | // language by any means, or disclosed to third parties without the explicit written |
| 8 | // agreement of TransGaming Inc. Without such an agreement, no rights or licenses, express |
| 9 | // or implied, including but not limited to any patent rights, are granted to you. |
John Bauman | 8940182 | 2014-05-06 15:04:28 -0400 | [diff] [blame] | 10 | // |
| 11 | |
| 12 | // angleutils.h: Common ANGLE utilities. |
| 13 | |
| 14 | #ifndef COMMON_ANGLEUTILS_H_ |
| 15 | #define COMMON_ANGLEUTILS_H_ |
| 16 | |
| 17 | // A macro to disallow the copy constructor and operator= functions |
| 18 | // This must be used in the private: declarations for a class |
| 19 | #define DISALLOW_COPY_AND_ASSIGN(TypeName) \ |
| 20 | TypeName(const TypeName&); \ |
| 21 | void operator=(const TypeName&) |
| 22 | |
| 23 | #endif // COMMON_ANGLEUTILS_H_ |