2 * Copyright 2008, Haiku.
3 * Distributed under the terms of the MIT license.
6 * Michael Pfeiffer <laplace@users.sourceforge.net>
9 #ifndef _PRINTER_SELECTION_H
10 #define _PRINTER_SELECTION_H
19 class FileItem
: public BStringItem
25 FileItem(const char* label
, const char* file
)
31 const char* GetFile() { return fFile
.String(); }
34 class PrinterSelectionView
: public BView
, public BInvoker
41 PrinterSelectionView(BRect rect
, const char *name
, uint32 resizeMask
, uint32 flags
);
43 void AttachedToWindow();
46 void FillPrinters(const char* vendor
);
47 void MessageReceived(BMessage
* msg
);