xref: /haiku/src/add-ons/print/drivers/preview/Driver.h (revision b55a57da7173b9af0432bd3e148d03f06161d036)
1 /*
2  * Copyright 2002-2008, Haiku. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Philippe Houdoin
7  *		Simon Gauvin
8  *		Michael Pfeiffer
9  */
10 
11 #include <AppKit.h>
12 
13 extern "C"
14 {
15 	BMessage * take_job(BFile * spool_file, BNode * spool_dir, BMessage * msg);
16 	BMessage * config_page(BNode * spool_dir, BMessage * msg);
17 	BMessage * config_job(BNode * spool_dir, BMessage * msg);
18 	char * add_printer(char * printer_name);
19 	BMessage * default_settings(BNode * printer);
20 }
21 
22 class PrinterDriver;
23 
24 // instanciate_driver has to be implemented by the printer driver
25 PrinterDriver *instanciate_driver(BNode *spoolDir);
26