1//
2// StickIt
3// File: jwindow.h
4// Joystick window definitions.
5// Sampel code used in "Getting a Grip on BJoystick" by Eric Shepherd
6//
7
8#include <Window.h>
9#include <View.h>
10
11class JoystickWindow;
12class BJoystick;
13class BBox;
14class BStringView;
15class BListView;
16
17class StickItWindow : public BWindow {
18	public:
19					 	StickItWindow(BRect rect);
20				void 	PickJoystick(BJoystick *stick);
21		virtual bool 	QuitRequested(void);
22		virtual	void 	MessageReceived(BMessage *message);
23				BString AddToList(BListView *bl, const char * str);
24
25	private:
26		BListView*		fListView1;
27		BListView*		fListView2;
28		BJoystick*		fJoystick;
29};
30