Mercurial > dwindows
diff template/dw.c @ 1152:58b5374355ab
Added print jobname parameter to dw_print_new().
If parameter is NULL a dummy name will be used.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 12 Sep 2011 19:26:49 +0000 |
parents | 091ed7c20b3f |
children | f86f556ff29d |
line wrap: on
line diff
--- a/template/dw.c Mon Sep 12 02:22:48 2011 +0000 +++ b/template/dw.c Mon Sep 12 19:26:49 2011 +0000 @@ -3399,6 +3399,7 @@ /* * Creates a new print object. * Parameters: + * jobname: Name of the print job to show in the queue. * flags: Flags to initially configure the print object. * pages: Number of pages to print. * drawfunc: The pointer to the function to be used as the callback. @@ -3406,7 +3407,7 @@ * Returns: * A handle to the print object or NULL on failure. */ -HPRINT API dw_print_new(unsigned long flags, unsigned int pages, void *drawfunc, void *drawdata) +HPRINT API dw_print_new(char *jobname, unsigned long flags, unsigned int pages, void *drawfunc, void *drawdata) { return NULL; }