mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
Removed MusicMod, it's hacky, it's not maintained and it seems it didn't compile for a while now.
Also with the advance of LLE sound we won't really need it. If someone disagree feel free to make it compile and recommit :-) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3176 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
64
Externals/MusicMod/Player/Src/GenPlugin.h
vendored
64
Externals/MusicMod/Player/Src/GenPlugin.h
vendored
@ -1,64 +0,0 @@
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Plainamp, Open source Winamp core
|
||||
//
|
||||
// Copyright <20> 2005 Sebastian Pipping <webmaster@hartwork.org>
|
||||
//
|
||||
// --> http://www.hartwork.org
|
||||
//
|
||||
// This source code is released under the GNU General Public License (GPL).
|
||||
// See GPL.txt for details. Any non-GPL usage is strictly forbidden.
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
#ifndef PA_GEN_PLUGIN_H
|
||||
#define PA_GEN_PLUGIN_H
|
||||
|
||||
|
||||
|
||||
#include "Global.h"
|
||||
#include "Plugin.h"
|
||||
#include "Winamp/Gen.h"
|
||||
#include <vector>
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
|
||||
typedef winampGeneralPurposePlugin * ( * WINAMP_GEN_GETTER )( void );
|
||||
|
||||
|
||||
|
||||
class GenPlugin;
|
||||
|
||||
extern vector <GenPlugin *> gen_plugins;
|
||||
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// Winamp general purpose plugin wrapper
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
class GenPlugin : public Plugin
|
||||
{
|
||||
public:
|
||||
GenPlugin( TCHAR * szDllpath, bool bKeepLoaded );
|
||||
|
||||
bool Load();
|
||||
bool Unload();
|
||||
|
||||
TCHAR * GetTypeString() { return TEXT( "General" ); }
|
||||
int GetTypeStringLen() { return 7; }
|
||||
PluginType GetType() { return PLUGIN_TYPE_GEN; }
|
||||
|
||||
inline bool IsActive() { return IsLoaded(); }
|
||||
|
||||
bool Config();
|
||||
|
||||
inline bool AllowRuntimeUnload() { return ( iHookerIndex == -1 ) || ( iHookerIndex == iWndprocHookCounter - 1 ); }
|
||||
|
||||
private:
|
||||
winampGeneralPurposePlugin * plugin;
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif // PA_GEN_PLUGIN_H
|
Reference in New Issue
Block a user