projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wxTinderbox build fix.
[wxWidgets.git]
/
src
/
os2
/
joystick.cpp
diff --git
a/src/os2/joystick.cpp
b/src/os2/joystick.cpp
index e40b19826e9d8de14392cc01e45390f5bd4f5d4e..7d9ec64512197a9fa4fe0b7316af68b6a64d7f20 100644
(file)
--- a/
src/os2/joystick.cpp
+++ b/
src/os2/joystick.cpp
@@
-1,5
+1,5
@@
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
-// Name: joystick.cpp
+// Name:
src/os2/
joystick.cpp
// Purpose: wxJoystick class
// Author: David Webster
// Modified by:
// Purpose: wxJoystick class
// Author: David Webster
// Modified by:
@@
-9,6
+9,11
@@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+//
+// For compilers that support precompilation, includes "wx.h".
+//
+#include "wx/wxprec.h"
+
#include "wx/defs.h"
#if wxUSE_JOYSTICK
#include "wx/defs.h"
#if wxUSE_JOYSTICK
@@
-20,8
+25,8
@@
#define NO_JOYGETPOSEX
#define NO_JOYGETPOSEX
-#include
<wx/window.h>
-#include
<wx/joystick.h>
+#include
"wx/window.h"
+#include
"wx/joystick.h"
IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
@@
-82,7
+87,7
@@
int wxJoystick::GetMovementThreshold() const
return 0;
}
return 0;
}
-void wxJoystick::SetMovementThreshold(int
threshold
)
+void wxJoystick::SetMovementThreshold(int
WXUNUSED(threshold)
)
{
// TODO
}
{
// TODO
}
@@
-93,10
+98,10
@@
void wxJoystick::SetMovementThreshold(int threshold)
bool wxJoystick::IsOk() const
{
// TODO
bool wxJoystick::IsOk() const
{
// TODO
- return
FALSE
;
+ return
false
;
}
}
-int wxJoystick::GetNumberJoysticks()
const
+int wxJoystick::GetNumberJoysticks()
{
// TODO
return 0;
{
// TODO
return 0;
@@
-117,7
+122,7
@@
int wxJoystick::GetProductId() const
wxString wxJoystick::GetProductName() const
{
// TODO
wxString wxJoystick::GetProductName() const
{
// TODO
- return wx
String("")
;
+ return wx
EmptyString
;
}
int wxJoystick::GetXMin() const
}
int wxJoystick::GetXMin() const
@@
-231,58
+236,57
@@
int wxJoystick::GetVMax() const
bool wxJoystick::HasRudder() const
{
// TODO
bool wxJoystick::HasRudder() const
{
// TODO
- return
FALSE
;
+ return
false
;
}
bool wxJoystick::HasZ() const
{
// TODO
}
bool wxJoystick::HasZ() const
{
// TODO
- return
FALSE
;
+ return
false
;
}
bool wxJoystick::HasU() const
{
// TODO
}
bool wxJoystick::HasU() const
{
// TODO
- return
FALSE
;
+ return
false
;
}
bool wxJoystick::HasV() const
{
// TODO
}
bool wxJoystick::HasV() const
{
// TODO
- return
FALSE
;
+ return
false
;
}
bool wxJoystick::HasPOV() const
{
// TODO
}
bool wxJoystick::HasPOV() const
{
// TODO
- return
FALSE
;
+ return
false
;
}
bool wxJoystick::HasPOV4Dir() const
{
// TODO
}
bool wxJoystick::HasPOV4Dir() const
{
// TODO
- return
FALSE
;
+ return
false
;
}
bool wxJoystick::HasPOVCTS() const
{
// TODO
}
bool wxJoystick::HasPOVCTS() const
{
// TODO
- return
FALSE
;
+ return
false
;
}
// Operations
////////////////////////////////////////////////////////////////////////////
}
// Operations
////////////////////////////////////////////////////////////////////////////
-bool wxJoystick::SetCapture(wxWindow*
win, int pollingFreq
)
+bool wxJoystick::SetCapture(wxWindow*
WXUNUSED(win), int WXUNUSED(pollingFreq)
)
{
// TODO
{
// TODO
- return
FALSE
;
+ return
false
;
}
bool wxJoystick::ReleaseCapture()
{
// TODO
}
bool wxJoystick::ReleaseCapture()
{
// TODO
- return
FALSE
;
+ return
false
;
}
#endif // wxUSE_JOYSTICK
}
#endif // wxUSE_JOYSTICK
-