github.com/kaydxh/golang@v0.0.131/pkg/gocv/cgo/third_path/graphics-magick/include/GraphicsMagick/magick/monitor.h (about) 1 /* 2 Copyright (C) 2003 - 2020 GraphicsMagick Group 3 Copyright (C) 2002 ImageMagick Studio 4 Copyright 1991-1999 E. I. du Pont de Nemours and Company 5 6 This program is covered by multiple licenses, which are described in 7 Copyright.txt. You should have received a copy of Copyright.txt with this 8 package; otherwise see http://www.graphicsmagick.org/www/Copyright.html. 9 10 GraphicsMagick Progress Monitor Methods. 11 */ 12 #ifndef _MAGICK_MONITOR_H 13 #define _MAGICK_MONITOR_H 14 15 #if defined(__cplusplus) || defined(c_plusplus) 16 extern "C" { 17 #endif 18 19 /* 20 Monitor typedef declarations. 21 */ 22 typedef MagickPassFail 23 (*MonitorHandler)(const char *text,const magick_int64_t quantum, 24 const magick_uint64_t span,ExceptionInfo *exception); 25 26 /* 27 Monitor declarations. 28 */ 29 extern MagickExport MonitorHandler 30 SetMonitorHandler(MonitorHandler handler); 31 32 extern MagickExport MagickPassFail 33 MagickMonitor(const char *text, 34 const magick_int64_t quantum,const magick_uint64_t span, 35 ExceptionInfo *exception) MAGICK_FUNC_DEPRECATED; 36 37 extern MagickExport MagickPassFail 38 MagickMonitorFormatted(const magick_int64_t quantum, 39 const magick_uint64_t span, 40 ExceptionInfo *exception, 41 const char *format,...) MAGICK_ATTRIBUTE((__format__ (__printf__,4,5))); 42 43 #if defined(MAGICK_IMPLEMENTATION) 44 # include "magick/monitor-private.h" 45 #endif /* defined(MAGICK_IMPLEMENTATION) */ 46 47 #if defined(__cplusplus) || defined(c_plusplus) 48 } 49 #endif 50 51 #endif 52 53 /* 54 * Local Variables: 55 * mode: c 56 * c-basic-offset: 2 57 * fill-column: 78 58 * End: 59 */