1 /* 2 * exempi-d - exempi.xmpconsts 3 * 4 * Bindings by Les De Ridder <les@lesderid.net> 5 * 6 * Copyright (C) 2007-2016 Hubert Figuiere 7 * Copyright 2002-2007 Adobe Systems Incorporated 8 * All rights reserved. 9 * 10 * Redistribution and use in source and binary forms, with or without 11 * modification, are permitted provided that the following conditions 12 * are met: 13 * 14 * 1 Redistributions of source code must retain the above copyright 15 * notice, this list of conditions and the following disclaimer. 16 * 17 * 2 Redistributions in binary form must reproduce the above copyright 18 * notice, this list of conditions and the following disclaimer in the 19 * documentation and/or other materials provided with the 20 * distribution. 21 * 22 * 3 Neither the name of the Authors, nor the names of its 23 * contributors may be used to endorse or promote products derived 24 * from this software wit hout specific prior written permission. 25 * 26 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 27 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 28 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 29 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 30 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 31 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 32 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 33 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 34 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 35 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 36 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 37 * OF THE POSSIBILITY OF SUCH DAMAGE. 38 */ 39 40 module exempi.xmpconsts; 41 42 extern(C): 43 44 //HACK: Should use a proper translation for 'extern const char CONSTANT_NAME[];' 45 46 extern __gshared const char[64] NS_XMP_META; 47 extern __gshared const char[64] NS_RDF; 48 extern __gshared const char[64] NS_EXIF; 49 extern __gshared const char[64] NS_TIFF; 50 extern __gshared const char[64] NS_XAP; 51 extern __gshared const char[64] NS_XAP_RIGHTS; 52 extern __gshared const char[64] NS_DC; 53 extern __gshared const char[64] NS_EXIF_AUX; 54 extern __gshared const char[64] NS_CRS; 55 extern __gshared const char[64] NS_LIGHTROOM; 56 extern __gshared const char[64] NS_PHOTOSHOP; 57 extern __gshared const char[64] NS_CAMERA_RAW_SETTINGS; 58 extern __gshared const char[64] NS_CAMERA_RAW_SAVED_SETTINGS; 59 extern __gshared const char[64] NS_IPTC4XMP; 60 extern __gshared const char[64] NS_TPG; 61 extern __gshared const char[64] NS_DIMENSIONS_TYPE; 62 /** Creative Commons namespace */ 63 extern __gshared const char[64] NS_CC; 64 /* Added in Exempi 2.1 */ 65 extern __gshared const char[64] NS_PDF;