Update to 2.0.0 tree from current Fremantle build
[opencv] / interfaces / ch / c / handmade / highgui / set_preprocess_chdl.c
diff --git a/interfaces/ch/c/handmade/highgui/set_preprocess_chdl.c b/interfaces/ch/c/handmade/highgui/set_preprocess_chdl.c
deleted file mode 100644 (file)
index 7df992d..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/* Copyright (c) 2001-2002 by SoftIntegration, Inc. All Rights Reserved */
-#include <windows.h>
-#include <cv.h>
-#include <highgui.h>
-#include <ch.h>
-
-static ChInterp_t interp;
-static void set_preprocess_chdl_funarg(HWND arg1, UINT arg2, WPARAM arg3, LPARAM arg4, int* arg5);
-static void *set_preprocess_chdl_funptr;
-
-EXPORTCH void cvSetPreprocessFuncWin32_chdl(void *varg) {
-    va_list ap;
-    CvWin32WindowCallback on_preprocess_ch, on_preprocess_c;
-
-    Ch_VaStart(interp, ap, varg);
-    on_preprocess_ch = Ch_VaArg(interp, ap, CvWin32WindowCallback);
-    set_preprocess_chdl_funptr = (void *)on_preprocess_ch;
-    if (on_preprocess_ch != NULL)  {
-        on_preprocess_c = (CvWin32WindowCallback) set_preprocess_chdl_funarg;
-    }
-    cvSetPreprocessFuncWin32(on_preprocess_c);
-
-    Ch_VaEnd(interp, ap);
-}
-
-static void set_preprocess_chdl_funarg(HWND arg1, UINT arg2, WPARAM arg3, LPARAM arg4, int* arg5)   {  
-   Ch_CallFuncByAddr(interp,set_preprocess_chdl_funptr,NULL,arg1,arg2,arg3,arg4,arg5);
-}
-