Back to index

scribus-ng  1.3.4.dfsg+svn20071115
objprinter.h
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 #ifndef OBJPRINTER_H
00008 #define OBJPRINTER_H
00009 
00010 // Pulls in <Python.h> first
00011 #include "cmdvar.h"
00012 
00013 extern PyTypeObject Printer_Type;
00014 
00015 // Nest items are not needed but are here for me to exercise
00016 // writing complete python objects
00017 
00018 #define Printer_Check(op) ((op)->ob_type == &Printer_Type)
00019 
00020 PyDoc_STRVAR(printer__doc__,"Printing\n\
00021 \n\
00022 Class Printer() provides printing for Python scripting.\n\
00023 \n\
00024 Example:\n\
00025 p = Printer()\n\
00026 p.print()");
00027 
00028 #endif /* OBJPRINTER_H */