changes for gcc compilation: conditionally define out stuff that

doesn't work on win32 (e.g. CommandBar).
This commit is contained in:
ehouse 2005-11-27 20:17:09 +00:00
parent 92948425b9
commit 33779bf1b3

View file

@ -20,7 +20,9 @@
#ifndef _CEMAIN_H_
#define _CEMAIN_H_
#include <aygshell.h>
#ifndef CANT_DO_SHELL_THING
# include <aygshell.h>
#endif
#include "draw.h"
#include "game.h"
#include "util.h"
@ -60,11 +62,15 @@ typedef struct CEAppGlobals {
HINSTANCE hInst;
HDC hdc; /* to pass drawing ctxt to draw code */
HWND hWnd;
#if defined TARGET_OS_WINCE
HWND hwndCB;
#endif
HWND buttons[NUM_BUTTONS];
#ifndef CANT_DO_SHELL_THING
SHACTIVATEINFO sai;
#endif
DrawCtx* draw;
XWGame game;