Skip to content

Commit

Permalink
Initial work on 'www' UI. Incomplete!
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jun 1, 2007
1 parent 9cd7897 commit 27e61c5
Show file tree
Hide file tree
Showing 5 changed files with 934 additions and 0 deletions.
13 changes: 13 additions & 0 deletions CMakeLists.txt
Expand Up @@ -374,6 +374,19 @@ ENDIF(NOT MACOSX)
ENDIF(NOT BEOS)
ENDIF(UNIX)

# BINARY SIZE += !!! FIXME: check this.
OPTION(MOJOSETUP_GUI_WWW "Enable www GUI" TRUE)
IF(MOJOSETUP_GUI_WWW)
ADD_DEFINITIONS(-DSUPPORT_GUI_WWW=1)
OPTION(MOJOSETUP_GUI_WWW_STATIC "Statically link www GUI" TRUE)
IF(MOJOSETUP_GUI_WWW_STATIC)
ADD_DEFINITIONS(-DGUI_STATIC_LINK_WWW=1)
SET(OPTIONAL_SRCS ${OPTIONAL_SRCS} gui_www.c)
ELSE(MOJOSETUP_GUI_WWW_STATIC)
ADD_LIBRARY(mojosetupgui_www SHARED gui_www.c)
ENDIF(MOJOSETUP_GUI_WWW_STATIC)
ENDIF(MOJOSETUP_GUI_WWW)


# Archivers...

Expand Down
3 changes: 3 additions & 0 deletions gui.c
Expand Up @@ -32,6 +32,9 @@ static const MojoGuiEntryPoint staticGui[] =
#if GUI_STATIC_LINK_GTKPLUS2
MojoGuiPlugin_gtkplus2,
#endif
#if GUI_STATIC_LINK_WWW
MojoGuiPlugin_www,
#endif
#if GUI_STATIC_LINK_NCURSES
MojoGuiPlugin_ncurses,
#endif
Expand Down
1 change: 1 addition & 0 deletions gui.h
Expand Up @@ -169,6 +169,7 @@ const MojoGui *MOJOGUI_ENTRY_POINT(int rev, const MojoSetupEntryPoints *e) \
const MojoGui *MojoGuiPlugin_stdio(int rev, const MojoSetupEntryPoints *e);
const MojoGui *MojoGuiPlugin_ncurses(int rev, const MojoSetupEntryPoints *e);
const MojoGui *MojoGuiPlugin_gtkplus2(int rev, const MojoSetupEntryPoints *e);
const MojoGui *MojoGuiPlugin_www(int rev, const MojoSetupEntryPoints *e);
const MojoGui *MojoGuiPlugin_macosx(int rev, const MojoSetupEntryPoints *e);

// !!! FIXME: Qt? KDE? Gnome? Console? Cocoa?
Expand Down

0 comments on commit 27e61c5

Please sign in to comment.