From e3652c177c6a848fa24945fd1ac0f4822ccbdfe3 Mon Sep 17 00:00:00 2001 From: John Peterson Date: Sat, 17 Jan 2009 08:32:44 +0000 Subject: [PATCH] PluginSpecs: Cosmetic changes git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1885 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/PluginSpecs/PluginSpecs.h | 23 ++++++++++++++++++----- Source/PluginSpecs/pluginspecs_wiimote.h | 18 ------------------ 2 files changed, 18 insertions(+), 23 deletions(-) diff --git a/Source/PluginSpecs/PluginSpecs.h b/Source/PluginSpecs/PluginSpecs.h index cf0ee89261..00baaac9ce 100644 --- a/Source/PluginSpecs/PluginSpecs.h +++ b/Source/PluginSpecs/PluginSpecs.h @@ -18,8 +18,8 @@ ////////////////////////////////////////////////////////////////////////////////////////// -// Declarations and definitions -// ŻŻŻŻŻŻŻŻŻŻŻŻŻ +// System specific declarations and definitions +// ------------ #ifdef _WIN32 #define EXPORT __declspec(dllexport) #define CALL __cdecl @@ -42,6 +42,12 @@ #if defined(__cplusplus) extern "C" { #endif +/////////////////////////////// + + +////////////////////////////////////////////////////////////////////////////////////////// +// Global values +// ------------ // Plugin types enum PLUGIN_TYPE { @@ -58,6 +64,12 @@ enum PLUGIN_TYPE { #define STATE_MODE_WRITE 2 #define STATE_MODE_MEASURE 3 +/////////////////////////////// + + +////////////////////////////////////////////////////////////////////////////////////////// +// Export structs +// ------------ typedef struct { u16 Version; // Set to 0x0100 @@ -110,15 +122,16 @@ EXPORT void CALL DllDebugger(HWND _hParent, bool Show); // output: none // EXPORT void CALL SetDllGlobals(PLUGIN_GLOBALS* _pPluginGlobals); -// __________________________________________________________________________________________________ +// ___________________________________________________________________________ // Function: Initialize // Purpose: Initialize the plugin // input: Init // output: none // EXPORT void CALL Initialize(void *init); -// __________________________________________________________________________________________________ + +// ___________________________________________________________________________ // Function: Shutdown // Purpose: This function is called when the emulator is shutting down // a game allowing the dll to de-initialise. @@ -127,7 +140,7 @@ EXPORT void CALL Initialize(void *init); // EXPORT void CALL Shutdown(void); -// __________________________________________________________________________________________________ +// ___________________________________________________________________________ // Function: DoState // Purpose: Saves/load state // input/output: ptr diff --git a/Source/PluginSpecs/pluginspecs_wiimote.h b/Source/PluginSpecs/pluginspecs_wiimote.h index cc54f97847..12265a4b9b 100644 --- a/Source/PluginSpecs/pluginspecs_wiimote.h +++ b/Source/PluginSpecs/pluginspecs_wiimote.h @@ -1,21 +1,3 @@ -// Copyright (C) 2003-2008 Dolphin Project. - -// 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 -// the Free Software Foundation, version 2.0. - -// This program 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 General Public License 2.0 for more details. - -// A copy of the GPL 2.0 should have been included with the program. -// If not, see http://www.gnu.org/licenses/ - -// Official SVN repository and contact information can be found at -// http://code.google.com/p/dolphin-emu/ - - //__________________________________________________________________________________________________ // Common wiimote plugin spec, unversioned //