From 844bfd297a82e1decef0bfc8dcff78accf2d9114 Mon Sep 17 00:00:00 2001 From: "gregory.hainaut" Date: Sat, 31 Jul 2010 09:01:41 +0000 Subject: [PATCH] SPU2null, PADNull, CDVDNull: remove useless gtk include git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3583 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/CDVDnull/CDVD.h | 4 +--- plugins/PadNull/Linux/Config.h | 7 ++----- plugins/PadNull/Linux/PadLinux.h | 1 - plugins/SPU2null/Linux/Config.h | 8 +------- plugins/SPU2null/SPU2.h | 4 +--- 5 files changed, 5 insertions(+), 19 deletions(-) diff --git a/plugins/CDVDnull/CDVD.h b/plugins/CDVDnull/CDVD.h index 99c996a1ff..dd59a25f2c 100644 --- a/plugins/CDVDnull/CDVD.h +++ b/plugins/CDVDnull/CDVD.h @@ -25,9 +25,7 @@ #include "PS2Edefs.h" #include "PS2Eext.h" -#ifdef __LINUX__ -#include -#else +#ifdef _MSC_VER #include #include #endif diff --git a/plugins/PadNull/Linux/Config.h b/plugins/PadNull/Linux/Config.h index eb29539d11..415f496f1d 100644 --- a/plugins/PadNull/Linux/Config.h +++ b/plugins/PadNull/Linux/Config.h @@ -1,5 +1,5 @@ -/* FWnull - * Copyright (C) 2004-2009 PCSX2 Team +/* PadNull + * Copyright (C) 2004-2010 PCSX2 Team * * 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 @@ -19,6 +19,3 @@ void SaveConf(); void LoadConf(); 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) diff --git a/plugins/PadNull/Linux/PadLinux.h b/plugins/PadNull/Linux/PadLinux.h index a98cb1967d..3aebb4bf0a 100644 --- a/plugins/PadNull/Linux/PadLinux.h +++ b/plugins/PadNull/Linux/PadLinux.h @@ -20,7 +20,6 @@ #define __PADLINUX_H__ #include "Pad.h" -#include #include void _PadUpdate(int pad); diff --git a/plugins/SPU2null/Linux/Config.h b/plugins/SPU2null/Linux/Config.h index a3fa55d905..f22c58498a 100644 --- a/plugins/SPU2null/Linux/Config.h +++ b/plugins/SPU2null/Linux/Config.h @@ -1,5 +1,5 @@ /* 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 * it under the terms of the GNU General Public License as published by @@ -18,15 +18,9 @@ #include #include -#include #include using namespace std; extern void SaveConf(); extern void LoadConf(); 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) diff --git a/plugins/SPU2null/SPU2.h b/plugins/SPU2null/SPU2.h index c97c00b8d0..54777bc31a 100644 --- a/plugins/SPU2null/SPU2.h +++ b/plugins/SPU2null/SPU2.h @@ -31,9 +31,7 @@ extern "C" } #include "PS2Eext.h" -#ifdef __LINUX__ -#include -#else +#ifdef _MSC_VER #include #include #endif