Mercurial > dwindows
comparison gtk/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 | cf934fd39d03 |
children | e6a2f57c0842 |
comparison
equal
deleted
inserted
replaced
1151:641aa6941b2a | 1152:58b5374355ab |
---|---|
11703 } | 11703 } |
11704 | 11704 |
11705 /* | 11705 /* |
11706 * Creates a new print object. | 11706 * Creates a new print object. |
11707 * Parameters: | 11707 * Parameters: |
11708 * jobname: Name of the print job to show in the queue. | |
11708 * flags: Flags to initially configure the print object. | 11709 * flags: Flags to initially configure the print object. |
11709 * pages: Number of pages to print. | 11710 * pages: Number of pages to print. |
11710 * drawfunc: The pointer to the function to be used as the callback. | 11711 * drawfunc: The pointer to the function to be used as the callback. |
11711 * drawdata: User data to be passed to the handler function. | 11712 * drawdata: User data to be passed to the handler function. |
11712 * Returns: | 11713 * Returns: |
11713 * A handle to the print object or NULL on failure. | 11714 * A handle to the print object or NULL on failure. |
11714 */ | 11715 */ |
11715 HPRINT API dw_print_new(unsigned long flags, unsigned int pages, void *drawfunc, void *drawdata) | 11716 HPRINT API dw_print_new(char *jobname, unsigned long flags, unsigned int pages, void *drawfunc, void *drawdata) |
11716 { | 11717 { |
11717 return NULL; | 11718 return NULL; |
11718 } | 11719 } |
11719 | 11720 |
11720 /* | 11721 /* |