comparison 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
comparison
equal deleted inserted replaced
1151:641aa6941b2a 1152:58b5374355ab
3397 } 3397 }
3398 3398
3399 /* 3399 /*
3400 * Creates a new print object. 3400 * Creates a new print object.
3401 * Parameters: 3401 * Parameters:
3402 * jobname: Name of the print job to show in the queue.
3402 * flags: Flags to initially configure the print object. 3403 * flags: Flags to initially configure the print object.
3403 * pages: Number of pages to print. 3404 * pages: Number of pages to print.
3404 * drawfunc: The pointer to the function to be used as the callback. 3405 * drawfunc: The pointer to the function to be used as the callback.
3405 * drawdata: User data to be passed to the handler function. 3406 * drawdata: User data to be passed to the handler function.
3406 * Returns: 3407 * Returns:
3407 * A handle to the print object or NULL on failure. 3408 * A handle to the print object or NULL on failure.
3408 */ 3409 */
3409 HPRINT API dw_print_new(unsigned long flags, unsigned int pages, void *drawfunc, void *drawdata) 3410 HPRINT API dw_print_new(char *jobname, unsigned long flags, unsigned int pages, void *drawfunc, void *drawdata)
3410 { 3411 {
3411 return NULL; 3412 return NULL;
3412 } 3413 }
3413 3414
3414 /* 3415 /*