mirror of
https://review.haiku-os.org/haiku
synced 2025-02-21 04:58:56 +01:00
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25865 a95241bf-73f2-0310-859d-f6bbb57e9c96
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 */
|
|
|