PluginSpecs: Cosmetic changes

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1885 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson 2009-01-17 08:32:44 +00:00
parent 8c3d4ac873
commit e3652c177c
2 changed files with 18 additions and 23 deletions

View File

@ -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

View File

@ -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
//