xref: /haiku/src/preferences/printers/TransportMenu.h (revision 95c9effd68127df2dce202d5e254a7c86560010a)
1 /*
2  * Copyright 2010, Haiku.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Michael Pfeiffer
7  */
8 
9 #ifndef _TRANSPORT_MENU_H
10 #define _TRANSPORT_MENU_H
11 
12 
13 #include <Menu.h>
14 #include <Messenger.h>
15 #include <String.h>
16 
17 
18 class TransportMenu : public BMenu
19 {
20 public:
21 			TransportMenu(const char* title, uint32 what,
22 				const BMessenger& messenger, const BString& transportName);
23 
24 	bool	AddDynamicItem(add_state s);
25 
26 private:
27 	uint32		fWhat;
28 	BMessenger	fMessenger;
29 	BString		fTransportName;
30 };
31 
32 #endif
33