1 /*****************************************************************************/ 2 // Copyright 2012 Adobe Systems Incorporated 3 // All Rights Reserved. 4 // 5 // NOTICE: Adobe permits you to use, modify, and distribute this file in 6 // accordance with the terms of the Adobe license agreement accompanying it. 7 /*****************************************************************************/ 8 9 /* $Id: //mondo/dng_sdk_1_4/dng_sdk/source/dng_uncopyable.h#1 $ */ 10 /* $DateTime: 2012/09/05 12:31:51 $ */ 11 /* $Change: 847652 $ */ 12 /* $Author: tknoll $ */ 13 14 /*****************************************************************************/ 15 16 #ifndef __dng_uncopyable__ 17 #define __dng_uncopyable__ 18 19 /*****************************************************************************/ 20 21 // Virtual base class to prevent object copies. 22 23 class dng_uncopyable 24 { 25 26 protected: 27 28 dng_uncopyable () 29 { 30 } 31 32 ~dng_uncopyable () 33 { 34 } 35 36 private: 37 38 dng_uncopyable (const dng_uncopyable &); 39 40 dng_uncopyable & operator= (const dng_uncopyable &); 41 42 }; 43 44 /*****************************************************************************/ 45 46 #endif // __dng_uncopyable__ 47 48 /*****************************************************************************/ 49