Fredrik Modeen eb1e733512 Work in progress, now the Joystick pref should show the right text and error (that I can reproduce without joystick)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-08 16:30:58 +00:00

30 lines
603 B
C++

/*
* Copyright 2008 Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
* Fredrik Modéen fredrik@modeen.se
*/
#ifndef PORT_ITEM_H
#define PORT_ITEM_H
#include <ListItem.h>
#include <String.h>
class PortItem : public BStringItem {
public:
PortItem(const char* label);
~PortItem();
virtual void DrawItem(BView *owner, BRect frame, bool complete = false);
BString GetOldJoystickName();
BString GetJoystickName();
void SetJoystickName(BString str);
protected:
BString fOldSelectedJoystick;
BString fSelectedJoystick;
};
#endif /* MESSAGED_ITEM_H */