/[pcsx2_0.9.7]/branch/debug/0.X/0.9.X/0.9.7/ramdump-lateset/plugins/PadNull/Pad.h
ViewVC logotype

Contents of /branch/debug/0.X/0.9.X/0.9.7/ramdump-lateset/plugins/PadNull/Pad.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 415 - (show annotations) (download)
Sun Feb 27 08:25:06 2011 UTC (8 years, 11 months ago) by william
File MIME type: text/plain
File size: 1528 byte(s)
fix issues from upstream merge of r4239-r4370
1 /* PadNull
2 * Copyright (C) 2004-2010 PCSX2 Dev Team
3 *
4 * PCSX2 is free software: you can redistribute it and/or modify it under the terms
5 * of the GNU Lesser General Public License as published by the Free Software Found-
6 * ation, either version 3 of the License, or (at your option) any later version.
7 *
8 * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
9 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10 * PURPOSE. See the GNU General Public License for more details.
11 *
12 * You should have received a copy of the GNU General Public License along with PCSX2.
13 * If not, see <http://www.gnu.org/licenses/>.
14 */
15
16 #ifndef __PAD_H__
17 #define __PAD_H__
18
19 #include <stdio.h>
20
21 #define PADdefs
22 #include "PS2Edefs.h"
23 #include "PS2Eext.h"
24
25 #ifdef _WIN32
26 #include "PadWin.h"
27 #else
28 #include "PadLinux.h"
29 #endif
30
31 /*#ifdef _MSC_VER
32 #define EXPORT_C_(type) extern "C" __declspec(dllexport) type CALLBACK
33 #else
34 #define EXPORT_C_(type) extern "C" type
35 #endif*/
36
37 #ifdef _MSC_VER
38 #define EXPORT_C_(type) extern "C" type CALLBACK
39 #else
40 #define EXPORT_C_(type) extern "C" __attribute__((externally_visible,visibility("default"))) type
41 #endif
42
43 #define PAD_LOG __Log
44
45 typedef struct
46 {
47 s32 Log;
48 } Config;
49
50 extern Config conf;
51 extern FILE *padLog;
52 extern keyEvent event;
53
54 extern void __Log(char *fmt, ...);
55 extern void SysMessage(char *fmt, ...);
56 extern void SaveConfig();
57 extern void LoadConfig();
58
59 #endif

  ViewVC Help
Powered by ViewVC 1.1.22