summaryrefslogtreecommitdiff
path: root/gpr/source/lib/dng_sdk/dng_uncopyable.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpr/source/lib/dng_sdk/dng_uncopyable.h')
-rw-r--r--gpr/source/lib/dng_sdk/dng_uncopyable.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/gpr/source/lib/dng_sdk/dng_uncopyable.h b/gpr/source/lib/dng_sdk/dng_uncopyable.h
new file mode 100644
index 0000000..f25745a
--- /dev/null
+++ b/gpr/source/lib/dng_sdk/dng_uncopyable.h
@@ -0,0 +1,48 @@
+/*****************************************************************************/
+// Copyright 2012 Adobe Systems Incorporated
+// All Rights Reserved.
+//
+// NOTICE: Adobe permits you to use, modify, and distribute this file in
+// accordance with the terms of the Adobe license agreement accompanying it.
+/*****************************************************************************/
+
+/* $Id: //mondo/dng_sdk_1_4/dng_sdk/source/dng_uncopyable.h#1 $ */
+/* $DateTime: 2012/09/05 12:31:51 $ */
+/* $Change: 847652 $ */
+/* $Author: tknoll $ */
+
+/*****************************************************************************/
+
+#ifndef __dng_uncopyable__
+#define __dng_uncopyable__
+
+/*****************************************************************************/
+
+// Virtual base class to prevent object copies.
+
+class dng_uncopyable
+ {
+
+ protected:
+
+ dng_uncopyable ()
+ {
+ }
+
+ ~dng_uncopyable ()
+ {
+ }
+
+ private:
+
+ dng_uncopyable (const dng_uncopyable &);
+
+ dng_uncopyable & operator= (const dng_uncopyable &);
+
+ };
+
+/*****************************************************************************/
+
+#endif // __dng_uncopyable__
+
+/*****************************************************************************/