mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
MusicMod: Moved it from Branches to Externals, I guess there usually is no Branches dir in the trunk dir, so this may look a little better
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2174 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
68
Externals/MusicMod/Player/Src/VisPlugin.h
vendored
Normal file
68
Externals/MusicMod/Player/Src/VisPlugin.h
vendored
Normal file
@ -0,0 +1,68 @@
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// 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_VIS_PLUGIN_H
|
||||
#define PA_VIS_PLUGIN_H
|
||||
|
||||
|
||||
|
||||
#include "Global.h"
|
||||
#include "Plugin.h"
|
||||
#include "Winamp/Vis.h"
|
||||
#include "VisModule.h"
|
||||
#include "Lock.h"
|
||||
#include <vector>
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
|
||||
typedef winampVisHeader * ( * WINAMP_VIS_GETTER )( void );
|
||||
|
||||
|
||||
|
||||
class VisModule;
|
||||
class VisPlugin;
|
||||
|
||||
extern vector <VisPlugin *> vis_plugins;
|
||||
extern Lock VisLock;
|
||||
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// Winamp visualization plugin wrapper
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
class VisPlugin : public Plugin
|
||||
{
|
||||
public:
|
||||
VisPlugin( TCHAR * szDllpath, bool bKeepLoaded );
|
||||
|
||||
bool Load();
|
||||
bool Unload();
|
||||
|
||||
TCHAR * GetTypeString() { return TEXT( "Visual" ); }
|
||||
int GetTypeStringLen() { return 6; }
|
||||
PluginType GetType() { return PLUGIN_TYPE_VIS; }
|
||||
|
||||
bool IsActive();
|
||||
|
||||
private:
|
||||
winampVisHeader * header;
|
||||
vector<VisModule *> modules;
|
||||
|
||||
|
||||
friend void ContextMenuVis( VisPlugin * vis, POINT * p );
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif // PA_VIS_PLUGIN_H
|
Reference in New Issue
Block a user