Skip to content

Commit 9d27e3b

Browse files
committed
(#8) Updated header files
1 parent 0039eb9 commit 9d27e3b

File tree

3 files changed

+3
-22
lines changed

3 files changed

+3
-22
lines changed

src/keypress.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
#include "os.h"
66
#include "keycode.h"
77

8-
#if defined(_MSC_VER)
9-
#include "ms_stdbool.h"
10-
#else
11-
#include <stdbool.h>
12-
#endif
8+
#include <stdbool.h>
139
#ifdef __cplusplus
1410
extern "C"
1511
{

src/mouse.h

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
#include "os.h"
66
#include "types.h"
77

8-
#if defined(_MSC_VER)
9-
#include "ms_stdbool.h"
10-
#else
11-
#include <stdbool.h>
12-
#endif
8+
#include <stdbool.h>
139
#ifdef __cplusplus
1410
extern "C"
1511
{
@@ -68,13 +64,6 @@ void moveMouse(MMPoint point);
6864
* boundaries. */
6965
void dragMouse(MMPoint point, const MMMouseButton button);
7066

71-
/* Smoothly moves the mouse from the current position to the given point.
72-
* deadbeef_srand() should be called before using this function.
73-
*
74-
* Returns false if unsuccessful (i.e. a point was hit that is outside of the
75-
* screen boundaries), or true if successful. */
76-
bool smoothlyMoveMouse(MMPoint point);
77-
7867
/* Returns the coordinates of the mouse on the current screen. */
7968
MMPoint getMousePos(void);
8069

src/screen.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
#include <stdint.h>
66
#include "types.h"
77

8-
#if defined(_MSC_VER)
9-
#include "ms_stdbool.h"
10-
#else
11-
#include <stdbool.h>
12-
#endif
8+
#include <stdbool.h>
139

1410
#ifdef __cplusplus
1511
extern "C"

0 commit comments

Comments
 (0)