diff options
author | Dan Everton <dan@iocaine.org> | 2006-08-12 10:28:30 +0000 |
---|---|---|
committer | Dan Everton <dan@iocaine.org> | 2006-08-12 10:28:30 +0000 |
commit | 9d2929b79b22765701e9db240d967877d7f7bab8 (patch) | |
tree | 0829913b3e58ce5d1886358395d42c5cee80ce6c /uisimulator/win32/plugin-win32.h | |
parent | 509ee3d42cfe0660a107ae169a11cef9c0604b1f (diff) | |
download | rockbox-9d2929b79b22765701e9db240d967877d7f7bab8.tar.gz rockbox-9d2929b79b22765701e9db240d967877d7f7bab8.zip |
Remove Win32 and X11 simulator sources. They've been deprecated for a while in favour of the SDL sim. Time to go.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10543 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/win32/plugin-win32.h')
-rw-r--r-- | uisimulator/win32/plugin-win32.h | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/uisimulator/win32/plugin-win32.h b/uisimulator/win32/plugin-win32.h deleted file mode 100644 index dd1c79080b..0000000000 --- a/uisimulator/win32/plugin-win32.h +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2002 Björn Stenberg | ||
11 | * | ||
12 | * All files in this archive are subject to the GNU General Public License. | ||
13 | * See the file COPYING in the source tree root for full license agreement. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
19 | |||
20 | #ifndef _PLUGIN_WIN32_H_ | ||
21 | #define _PLUGIN_WIN32_H_ | ||
22 | |||
23 | #define BOOL win32_BOOL /* Avoid conflicts with BOOL/INT defined as */ | ||
24 | #define INT win32_INT /* enum values in settings.h */ | ||
25 | |||
26 | #include <windows.h> | ||
27 | #include "plugin.h" | ||
28 | #include "file.h" | ||
29 | |||
30 | #define RTLD_NOW 0 | ||
31 | |||
32 | #undef filesize | ||
33 | #define filesize win32_filesize | ||
34 | |||
35 | #undef ftruncate | ||
36 | #define ftruncate NULL | ||
37 | |||
38 | typedef enum plugin_status (*plugin_fn)(struct plugin_api* api, void* param); | ||
39 | |||
40 | #define dlopen(_x_, _y_) LoadLibrary(_x_) | ||
41 | #define dlsym(_x_, _y_) (plugin_fn)GetProcAddress(_x_, _y_) | ||
42 | #define dlclose(_x_) FreeLibrary(_x_) | ||
43 | #define dlerror() "Unknown" | ||
44 | |||
45 | int strcasecmp (const char *a, const char *b); | ||
46 | int strncasecmp (const char *a, const char *b, size_t n); | ||
47 | |||
48 | #endif | ||