| 1 | /*****************************************************************************/ |
| 2 | // Copyright 2006 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_globals.h#1 $ */ |
| 10 | /* $DateTime: 2012/05/30 13:28:51 $ */ |
| 11 | /* $Change: 832332 $ */ |
| 12 | /* $Author: tknoll $ */ |
| 13 | |
| 14 | /** \file |
| 15 | * Definitions of global variables controling DNG SDK behavior. Currenntly only used for validation control. |
| 16 | */ |
| 17 | |
| 18 | /*****************************************************************************/ |
| 19 | |
| 20 | #ifndef __dng_globals__ |
| 21 | #define __dng_globals__ |
| 22 | |
| 23 | /*****************************************************************************/ |
| 24 | |
| 25 | #include "dng_flags.h" |
| 26 | #include "dng_types.h" |
| 27 | |
| 28 | /*****************************************************************************/ |
| 29 | |
| 30 | #if qDNGValidate |
| 31 | |
| 32 | /// When validation (qValidate) is turned on, this globale enables verbose output about DNG tags and other properties. |
| 33 | |
| 34 | extern bool gVerbose; |
| 35 | |
| 36 | /// When validation (qValidate) is turned on, and verbose mode (gVerbose) is enabled, limits the number of lines of text that are dumped for each tag. |
| 37 | |
| 38 | extern uint32 gDumpLineLimit; |
| 39 | |
| 40 | #endif |
| 41 | |
| 42 | /*****************************************************************************/ |
| 43 | |
| 44 | #endif |
| 45 | |
| 46 | /*****************************************************************************/ |
| 47 | |