view src/libaudacious++/plugin.h @ 4611:895297e46ee3

Cure some 'repetitive code syndromes' from audtool.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 05 Jun 2008 01:25:22 +0300
parents 3aafc46605b4
children
line wrap: on
line source

/*
 * Copyright (c) 2008 William Pitcock <nenolod@sacredspiral.co.uk>
 *
 * [insert GPL license here later]
 */

#ifndef __AUDACIOUSXX__PLUGIN_H_GUARD
#define __AUDACIOUSXX__PLUGIN_H_GUARD

#include <string>

namespace Audacious {

class Plugin {
private:
	std::string name;
	std::string description;

public:
	Plugin(std::string name_, std::string description_);
	~Plugin();
};

class VisPlugin : Plugin {
private:
	int pcm_channels;
	int freq_channels;

public:
	VisPlugin(std::string name_, std::string description, int pc, int fc);
	~VisPlugin();
};

};

#endif