diff options
author | Nicolas Bacca | 2002-10-31 01:04:47 +0000 |
---|---|---|
committer | Nicolas Bacca | 2002-10-31 01:04:47 +0000 |
commit | f84b5d327dc13da7412553cc31e80fb7199eab36 (patch) | |
tree | 98770accb8066d2b9b07de31183163785c70eec5 /backends/wince/pocketpc.cpp | |
parent | 6614318d2f3c74ecd6b4054fe6fac74797441cd5 (diff) | |
download | scummvm-rg350-f84b5d327dc13da7412553cc31e80fb7199eab36.tar.gz scummvm-rg350-f84b5d327dc13da7412553cc31e80fb7199eab36.tar.bz2 scummvm-rg350-f84b5d327dc13da7412553cc31e80fb7199eab36.zip |
Real HPC support (work in progress)
svn-id: r5357
Diffstat (limited to 'backends/wince/pocketpc.cpp')
-rw-r--r-- | backends/wince/pocketpc.cpp | 63 |
1 files changed, 54 insertions, 9 deletions
diff --git a/backends/wince/pocketpc.cpp b/backends/wince/pocketpc.cpp index 9326727ebc..c9bfd1d553 100644 --- a/backends/wince/pocketpc.cpp +++ b/backends/wince/pocketpc.cpp @@ -22,6 +22,60 @@ #include "stdafx.h" #include <assert.h> +//#include "commctrl.h" + +#if _WIN32_WCE < 300 + +#include <Wingdi.h> +#include <Winbase.h> +#include <Wtypes.h> + +#endif + +#include <Winuser.h> +#include <Winnls.h> +#include <sipapi.h> + +#if _WIN32_WCE >= 300 + +#include <Aygshell.h> + +#else + +// Put in include file + +typedef enum tagSIPSTATE +{ + SIP_UP = 0, + SIP_DOWN, + SIP_FORCEDOWN, + SIP_UNCHANGED, + SIP_INPUTDIALOG, +} SIPSTATE; + +#define SHFS_SHOWTASKBAR 0x0001 +#define SHFS_HIDETASKBAR 0x0002 +#define SHFS_SHOWSIPBUTTON 0x0004 +#define SHFS_HIDESIPBUTTON 0x0008 +#define SHFS_SHOWSTARTICON 0x0010 +#define SHFS_HIDESTARTICON 0x0020 + +typedef struct +{ + DWORD cbSize; + HWND hwndLastFocus; + UINT fSipUp :1; + UINT fSipOnDeactivation :1; + UINT fActive :1; + UINT fReserved :29; +} SHACTIVATEINFO, *PSHACTIVATEINFO; + + +#endif + +#include <gx.h> +#include "resource.h" + #include "scumm.h" #include "debug.h" #include "screen.h" @@ -33,15 +87,6 @@ #include "config-file.h" -#include "commctrl.h" -#include <Winuser.h> -#include <Winnls.h> -#include <sipapi.h> -#include <Aygshell.h> -#include <gx.h> -#include <aygshell.h> -#include "resource.h" - #include "SDL.h" #include "SDL_audio.h" #include "SDL_timer.h" |