1/*
2 * Copyright 2008 Haiku.
3 * Distributed under the terms of the MIT License.
4 *
5 * Authors:
6 *		Fredrik Modéen 			fredrik@modeen.se
7 */
8#ifndef PORT_ITEM_H
9#define PORT_ITEM_H
10
11#include <ListItem.h>
12#include <String.h>
13
14class PortItem : public BStringItem {
15	public:
16		PortItem(const char* label);
17		~PortItem();
18		virtual void DrawItem(BView *owner, BRect frame, bool complete = false);
19		BString 	GetOldJoystickName();
20		BString 	GetJoystickName();
21		void		SetJoystickName(BString str);
22	protected:
23		BString 	fOldSelectedJoystick;
24		BString 	fSelectedJoystick;
25};
26
27
28#endif	/* MESSAGED_ITEM_H */
29
30