~ubuntu-branches/ubuntu/maverick/vice/maverick

« back to all changes in this revision

Viewing changes to src/arch/win32/evc/system.h

  • Committer: Bazaar Package Importer
  • Author(s): Zed Pobre
  • Date: 2005-02-01 11:30:26 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050201113026-3eyakzsmmheclvjg
Tags: 1.16-1
* New upstream version
* Fixes crash on 64-bit architectures (closes: #287640)
* x128 working again (closes: #286767)
* Works fine with /dev/dsp in use (not in the main changelog, but tested
  on my local machine as working).  Presumably, this also takes care of
  the issue with dsp being held.  I'm not sure if this is because I'm
  testing it on a 2.6 kernel now -- if you are still having problems
  with /dev/dsp, please reopen the bugs. (closes: #152952, #207942)
* Don't kill Makefile.in on clean

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * system.h - System dependant functions.
 
3
 *
 
4
 * Written by
 
5
 *  Andreas Boose <viceteam@t-online.de>
 
6
 *  Markus Brenner <markus@brenner.de>
 
7
 *
 
8
 * This file is part of VICE, the Versatile Commodore Emulator.
 
9
 * See README for copyright notice.
 
10
 *
 
11
 *  This program is free software; you can redistribute it and/or modify
 
12
 *  it under the terms of the GNU General Public License as published by
 
13
 *  the Free Software Foundation; either version 2 of the License, or
 
14
 *  (at your option) any later version.
 
15
 *
 
16
 *  This program is distributed in the hope that it will be useful,
 
17
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
18
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
19
 *  GNU General Public License for more details.
 
20
 *
 
21
 *  You should have received a copy of the GNU General Public License
 
22
 *  along with this program; if not, write to the Free Software
 
23
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
 
24
 *  02111-1307  USA.
 
25
 *
 
26
 */
 
27
 
 
28
#ifndef _SYSTEM_H
 
29
#define _SYSTEM_H
 
30
 
 
31
#undef BYTE
 
32
#undef WORD
 
33
#undef DWORD
 
34
#include <windows.h>
 
35
#include <prsht.h>
 
36
#include <tchar.h>
 
37
#include <stdio.h>
 
38
#include <stdlib.h>
 
39
 
 
40
extern void system_init_dialog(HWND hwnd);
 
41
extern void system_psh_settings(PROPSHEETHEADER *ppsh);
 
42
 
 
43
extern size_t system_wcstombs(char *mbs, const wchar_t *wcs, size_t len);
 
44
extern size_t system_mbstowcs(wchar_t *wcs, const char *mbs, size_t len);
 
45
extern wchar_t *system_mbstowcs_alloc(const char *mbs);
 
46
extern void system_mbstowcs_free(wchar_t *wcs);
 
47
extern char *system_wcstombs_alloc(const wchar_t *wcs);
 
48
extern void system_wcstombs_free(char *mbs);
 
49
 
 
50
#endif
 
51