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 18class TransportMenu : public BMenu 19{ 20public: 21 TransportMenu(const char* title, uint32 what, 22 const BMessenger& messenger, const BString& transportName); 23 24 bool AddDynamicItem(add_state s); 25 26private: 27 uint32 fWhat; 28 BMessenger fMessenger; 29 BString fTransportName; 30}; 31 32#endif 33