/////////////////////////////////////////////////////////////////////////////
-// Name: joystick.h
+// Name: wx/unix/joystick.h
// Purpose: wxJoystick class
// Author: Guilhem Lavaux
// Modified by:
// Created: 01/02/97
// RCS-ID: $Id$
-// Copyright:
-// Licence: wxWindows licence
+// Copyright: (c) Guilhem Lavaux
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __JOYSTICKH__
#define __JOYSTICKH__
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "joystick.h"
-#endif
-
#include "wx/event.h"
#include "wx/thread.h"
*/
wxJoystick(int joystick = wxJOYSTICK1);
- ~wxJoystick();
+ virtual ~wxJoystick();
// Attributes
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
bool IsOk() const; // Checks that the joystick is functioning
- int GetNumberJoysticks() const ;
+ static int GetNumberJoysticks() ;
int GetManufacturerId() const ;
int GetProductId() const ;
wxString GetProductName() const ;
};
#endif
-// __JOYSTICKH__
-
+ // __JOYSTICKH__