AppImage.cpp

Go to the documentation of this file.
00001 /***************************************************************************
00002  *                                                                         *
00003  *   This program is free software; you can redistribute it and/or modify  *
00004  *   it under the terms of the GNU Library General Public License as       *
00005  *   published by the Free Software Foundation; either version 2 of the    *
00006  *   License, or (at your option) any later version.                       *
00007  *   for detail see the LICENCE text file.                                 *
00008  *   Jürgen Riegel 2002                                                    *
00009  *                                                                         *
00010  ***************************************************************************/
00011 
00012 #include "PreCompiled.h"
00013 #ifndef _PreComp_
00014 # include <Python.h>
00015 #endif
00016 
00017 #include <Base/Console.h>
00018 #include "ImagePlane.h"
00019 
00020 
00021 /* registration table  */
00022 static struct PyMethodDef Image_methods[] = {
00023     {NULL, NULL}                   /* end of table marker */
00024 };
00025 
00026 /* Python entry */
00027 extern "C" {
00028 void ImageExport initImage() {
00029     (void) Py_InitModule("Image", Image_methods);   /* mod name, table ptr */
00030     Base::Console().Log("Loading Image module... done\n");
00031 
00032     Image::ImagePlane::init();
00033 
00034     return;
00035 }
00036 
00037 } // extern "C"

Generated on Wed Nov 23 18:59:55 2011 for FreeCAD by  doxygen 1.6.1