mirror of
https://review.haiku-os.org/haiku
synced 2025-02-22 05:29:17 +01:00
30 lines
603 B
C
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 */
|
||
|
|