2 * Copyright 2008 Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
6 * Julun, <host.haiku@gmx.de
12 #include <Directory.h>
28 BPrinter(const BEntry
& entry
);
29 BPrinter(const BPrinter
& printer
);
30 BPrinter(const node_ref
& nodeRef
);
31 BPrinter(const entry_ref
& entryRef
);
32 BPrinter(const BDirectory
& directory
);
35 status_t
SetTo(const BEntry
& entry
);
36 status_t
SetTo(const node_ref
& nodeRef
);
37 status_t
SetTo(const entry_ref
& entryRef
);
38 status_t
SetTo(const BDirectory
& directory
);
42 status_t
InitCheck() const;
45 bool IsDefault() const;
46 bool IsShareable() const;
49 BString
State() const;
50 BString
Driver() const;
51 BString
Comments() const;
52 BString
Transport() const;
53 BString
TransportAddress() const;
54 status_t
DefaultSettings(BMessage
& settings
);
56 status_t
StartWatching(const BMessenger
& listener
);
59 BPrinter
& operator=(const BPrinter
& printer
);
60 bool operator==(const BPrinter
& printer
) const;
61 bool operator!=(const BPrinter
& printer
) const;
64 status_t
_Configure() const;
65 status_t
_ConfigureJob(BMessage
& settings
);
66 status_t
_ConfigurePage(BMessage
& settings
);
68 BPath
_DriverPath() const;
69 image_id
_LoadDriver() const;
70 void _AddPrinterName(BMessage
& settings
);
71 BString
_ReadAttribute(const char* attribute
) const;
74 BMessenger
* fListener
;
75 entry_ref fPrinterEntryRef
;
80 } // namespace BPrivate