1 /* 2 * Copyright 1999/2000 by Henning Zabel <henning@uni-paderborn.de> 3 * 4 * This program is free software; you can redistribute it and/or modify it 5 * under the terms of the GNU General Public License as published by the 6 * Free Software Foundation; either version 2 of the License, or (at your 7 * option) any later version. 8 * 9 * This program is distributed in the hope that it will be useful, but 10 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 11 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software Foundation, 16 * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 17 */ 18 19 /* 20 Defines some PrintMacros. They are need to disable much 21 outputs they were used during development. 22 */ 23 #ifndef DEFINE_PRINT_H 24 #define DEFINE_PRINT_H 25 #include <stdio.h> 26 27 /* Message or Errors from the gphoto API */ 28 #define printAPINote if (1) printf 29 #define printAPIError if (1) printf 30 31 /* only for debugging : The FunktionCall */ 32 #define printFnkCall if (0) printf 33 34 /* Message or Errors from the Core Layer */ 35 #define printCoreNote if (1) printf 36 #define printCoreError if (1) printf 37 38 /* CError are Error Messages below */ 39 /* the Core of this driver */ 40 #define printCError if (1) printf 41 42 43 #endif 44 45