2003-05-22 00:33:24 +04:00
|
|
|
/////////////////////////////////////////////////////////////////////////
|
2009-03-24 19:28:03 +03:00
|
|
|
// $Id: win32dialog.h,v 1.19 2009-03-24 16:28:03 vruppert Exp $
|
2003-05-22 00:33:24 +04:00
|
|
|
/////////////////////////////////////////////////////////////////////////
|
2009-02-08 12:05:52 +03:00
|
|
|
//
|
|
|
|
// Copyright (C) 2009 The Bochs Project
|
|
|
|
//
|
|
|
|
// This library is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU Lesser General Public
|
|
|
|
// License as published by the Free Software Foundation; either
|
|
|
|
// version 2 of the License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// This library is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
// Lesser General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU Lesser General Public
|
|
|
|
// License along with this library; if not, write to the Free Software
|
|
|
|
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
2003-05-22 00:33:24 +04:00
|
|
|
|
2008-12-27 15:06:39 +03:00
|
|
|
#ifndef BX_WIN32_DIALOGS_H
|
|
|
|
#define BX_WIN32_DIALOGS_H
|
|
|
|
|
2004-01-29 21:50:33 +03:00
|
|
|
#include "config.h"
|
|
|
|
|
2008-10-21 17:45:03 +04:00
|
|
|
#ifndef _WIN32_IE
|
|
|
|
#define _WIN32_IE 0x0400 // Force a minimum "OS level" for commctrl.h
|
|
|
|
#endif
|
|
|
|
#if _WIN32_IE < 0x0400
|
|
|
|
#undef _WIN32_IE
|
|
|
|
#define _WIN32_IE 0x0400
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern "C" {
|
|
|
|
#include <assert.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <windows.h>
|
|
|
|
#include <commctrl.h>
|
|
|
|
#include <shlobj.h>
|
|
|
|
#include <ctype.h>
|
|
|
|
}
|
|
|
|
|
2004-01-29 21:50:33 +03:00
|
|
|
#if BX_USE_TEXTCONFIG && defined(WIN32)
|
2003-05-22 00:33:24 +04:00
|
|
|
|
2009-01-12 22:15:35 +03:00
|
|
|
#if BX_DEBUGGER && BX_DEBUGGER_GUI
|
2009-01-09 17:53:38 +03:00
|
|
|
void InitDebugDialog();
|
2009-02-08 21:52:06 +03:00
|
|
|
void ParseIDText(const char *p);
|
2009-01-09 17:53:38 +03:00
|
|
|
void HitBreak();
|
2006-11-17 19:50:39 +03:00
|
|
|
#endif
|
2009-03-24 19:28:03 +03:00
|
|
|
int init_win32_config_interface();
|
2003-05-22 00:33:24 +04:00
|
|
|
|
|
|
|
#endif
|
2008-12-27 15:06:39 +03:00
|
|
|
|
|
|
|
#endif // BX_WIN32_DIALOGS_H
|