SPU2null, PADNull, CDVDNull: remove useless gtk include

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3583 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut 2010-07-31 09:01:41 +00:00
parent 2e77e2f9c8
commit 844bfd297a
5 changed files with 5 additions and 19 deletions

View File

@ -25,9 +25,7 @@
#include "PS2Edefs.h" #include "PS2Edefs.h"
#include "PS2Eext.h" #include "PS2Eext.h"
#ifdef __LINUX__ #ifdef _MSC_VER
#include <gtk/gtk.h>
#else
#include <windows.h> #include <windows.h>
#include <windowsx.h> #include <windowsx.h>
#endif #endif

View File

@ -1,5 +1,5 @@
/* FWnull /* PadNull
* Copyright (C) 2004-2009 PCSX2 Team * Copyright (C) 2004-2010 PCSX2 Team
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -19,6 +19,3 @@
void SaveConf(); void SaveConf();
void LoadConf(); void LoadConf();
void SysMessage(char *fmt, ...); void SysMessage(char *fmt, ...);
#define is_checked(main_widget, widget_name) (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(main_widget, widget_name))))
#define set_checked(main_widget,widget_name, state) gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(lookup_widget(main_widget, widget_name)), state)

View File

@ -20,7 +20,6 @@
#define __PADLINUX_H__ #define __PADLINUX_H__
#include "Pad.h" #include "Pad.h"
#include <gtk/gtk.h>
#include <X11/Xlib.h> #include <X11/Xlib.h>
void _PadUpdate(int pad); void _PadUpdate(int pad);

View File

@ -1,5 +1,5 @@
/* SPU2null /* SPU2null
* Copyright (C) 2002-2005 SPU2null Team * Copyright (C) 2002-2010 SPU2null Team
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -18,15 +18,9 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <gtk/gtk.h>
#include <string> #include <string>
using namespace std; using namespace std;
extern void SaveConf(); extern void SaveConf();
extern void LoadConf(); extern void LoadConf();
extern string s_strIniPath; extern string s_strIniPath;
extern GtkWidget *MsgDlg;
extern void OnMsg_Ok();
#define is_checked(main_widget, widget_name) (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lookup_widget(main_widget, widget_name))))
#define set_checked(main_widget,widget_name, state) gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(lookup_widget(main_widget, widget_name)), state)

View File

@ -31,9 +31,7 @@ extern "C"
} }
#include "PS2Eext.h" #include "PS2Eext.h"
#ifdef __LINUX__ #ifdef _MSC_VER
#include <gtk/gtk.h>
#else
#include <windows.h> #include <windows.h>
#include <windowsx.h> #include <windowsx.h>
#endif #endif