| 1 |
/*****************************************************************************/ |
| 2 |
// Copyright 2012-2019 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 |
#ifndef __dng_uncopyable__ |
| 10 |
#define __dng_uncopyable__ |
| 11 |
|
| 12 |
/*****************************************************************************/ |
| 13 |
|
| 14 |
// Virtual base class to prevent object copies. |
| 15 |
|
| 16 |
class dng_uncopyable |
| 17 |
{ |
| 18 |
|
| 19 |
protected: |
| 20 |
|
| 21 |
dng_uncopyable () |
| 22 |
{ |
| 23 |
} |
| 24 |
|
| 25 |
~dng_uncopyable () |
| 26 |
{ |
| 27 |
} |
| 28 |
|
| 29 |
private: |
| 30 |
|
| 31 |
dng_uncopyable (const dng_uncopyable &); |
| 32 |
|
| 33 |
dng_uncopyable & operator= (const dng_uncopyable &); |
| 34 |
|
| 35 |
}; |
| 36 |
|
| 37 |
/*****************************************************************************/ |
| 38 |
|
| 39 |
#endif // __dng_uncopyable__ |
| 40 |
|
| 41 |
/*****************************************************************************/ |