summaryrefslogtreecommitdiff
path: root/uisimulator
diff options
context:
space:
mode:
authorHardeep Sidhu <dyp@pobox.com>2003-06-29 17:22:22 +0000
committerHardeep Sidhu <dyp@pobox.com>2003-06-29 17:22:22 +0000
commit3f9fdafc69ca0a2b496645fdd2e1dc6de729a8bb (patch)
tree6698d5388859edbce27e64f6546a12203d6b0474 /uisimulator
parent117be9e6e4b86c4c82827e9e25ca036bb5634c7c (diff)
Disable plugin loading on win32 simulator for now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3772 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/win32/Makefile7
-rw-r--r--uisimulator/win32/plugin-win32.c30
-rw-r--r--uisimulator/win32/rockbox.dsp86
3 files changed, 37 insertions, 86 deletions
diff --git a/uisimulator/win32/Makefile b/uisimulator/win32/Makefile
index c20e82d07d..3ba223d7bd 100644
--- a/uisimulator/win32/Makefile
+++ b/uisimulator/win32/Makefile
@@ -93,19 +93,18 @@ FIRMSRCS = $(LCDSRSC) id3.c mp3data.c usb.c mpeg.c powermgmt.c power.c \
APPS = main.c tree.c menu.c credits.c main_menu.c icons.c language.c \
playlist.c wps.c wps-display.c settings.c status.c \
- screens.c peakmeter.c viewer.c sleeptimer.c keyboard.c onplay.c\
+ screens.c peakmeter.c sleeptimer.c keyboard.c onplay.c\
misc.c
MENUS = games_menu.c demo_menu.c settings_menu.c sound_menu.c
ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP)
- APPS += tetris.c sokoban.c bounce.c snow.c bmp.c \
- widgets.c wormlet.c cube.c
+ APPS += bmp.c widgets.c
endif
SRCS = button.c dir-win32.c lcd-win32.c panic-win32.c thread-win32.c \
debug-win32.c kernel.c string-win32.c uisw32.c stubs.c \
- $(APPS) $(MENUS) $(FIRMSRCS) strtok.c sim_icons.c io.c
+ $(APPS) $(MENUS) $(FIRMSRCS) strtok.c sim_icons.c io.c plugin-win32.c
OBJS := $(OBJDIR)/lang.o $(SRCS:%.c=$(OBJDIR)/%.o) $(OBJDIR)/uisw32-res.o
diff --git a/uisimulator/win32/plugin-win32.c b/uisimulator/win32/plugin-win32.c
new file mode 100644
index 0000000000..b3c3e0489b
--- /dev/null
+++ b/uisimulator/win32/plugin-win32.c
@@ -0,0 +1,30 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id$
+ *
+ * Copyright (C) 2002 Björn Stenberg
+ *
+ * All files in this archive are subject to the GNU General Public License.
+ * See the file COPYING in the source tree root for full license agreement.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+
+#include "plugin.h"
+#include "screens.h"
+
+int plugin_load(char* plugin, void* parameter)
+{
+ (void)plugin;
+ (void)parameter;
+
+ splash(HZ*2, 0, true, "Not implemented");
+ return PLUGIN_ERROR;
+}
diff --git a/uisimulator/win32/rockbox.dsp b/uisimulator/win32/rockbox.dsp
index 18b7a491b4..bf0f81f5bb 100644
--- a/uisimulator/win32/rockbox.dsp
+++ b/uisimulator/win32/rockbox.dsp
@@ -268,32 +268,6 @@ SOURCE=..\..\apps\recorder\bmp.c
# End Source File
# Begin Source File
-SOURCE=..\..\apps\recorder\bounce.c
-
-!IF "$(CFG)" == "rockbox - Win32 Recorder"
-
-!ELSEIF "$(CFG)" == "rockbox - Win32 Player"
-
-# PROP Exclude_From_Build 1
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\apps\recorder\cube.c
-
-!IF "$(CFG)" == "rockbox - Win32 Recorder"
-
-!ELSEIF "$(CFG)" == "rockbox - Win32 Player"
-
-# PROP Exclude_From_Build 1
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
SOURCE=..\..\apps\recorder\icons.c
!IF "$(CFG)" == "rockbox - Win32 Recorder"
@@ -333,45 +307,6 @@ SOURCE=..\..\apps\recorder\peakmeter.c
# End Source File
# Begin Source File
-SOURCE=..\..\apps\recorder\snow.c
-
-!IF "$(CFG)" == "rockbox - Win32 Recorder"
-
-!ELSEIF "$(CFG)" == "rockbox - Win32 Player"
-
-# PROP Exclude_From_Build 1
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\apps\recorder\sokoban.c
-
-!IF "$(CFG)" == "rockbox - Win32 Recorder"
-
-!ELSEIF "$(CFG)" == "rockbox - Win32 Player"
-
-# PROP Exclude_From_Build 1
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\apps\recorder\tetris.c
-
-!IF "$(CFG)" == "rockbox - Win32 Recorder"
-
-!ELSEIF "$(CFG)" == "rockbox - Win32 Player"
-
-# PROP Exclude_From_Build 1
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
SOURCE=..\..\apps\recorder\widgets.c
!IF "$(CFG)" == "rockbox - Win32 Recorder"
@@ -383,19 +318,6 @@ SOURCE=..\..\apps\recorder\widgets.c
!ENDIF
# End Source File
-# Begin Source File
-
-SOURCE=..\..\apps\recorder\wormlet.c
-
-!IF "$(CFG)" == "rockbox - Win32 Recorder"
-
-!ELSEIF "$(CFG)" == "rockbox - Win32 Player"
-
-# PROP Exclude_From_Build 1
-
-!ENDIF
-
-# End Source File
# End Group
# Begin Source File
@@ -475,10 +397,6 @@ SOURCE=..\..\apps\tree.c
# End Source File
# Begin Source File
-SOURCE=..\..\apps\viewer.c
-# End Source File
-# Begin Source File
-
SOURCE="..\..\apps\wps-display.c"
# End Source File
# Begin Source File
@@ -560,6 +478,10 @@ SOURCE=".\panic-win32.c"
# End Source File
# Begin Source File
+SOURCE=".\plugin-win32.c"
+# End Source File
+# Begin Source File
+
SOURCE=".\string-win32.c"
# End Source File
# Begin Source File