# HG changeset patch # User William Pitcock # Date 1199076298 21600 # Node ID 3aafc46605b4639ee8cee9cf69452417047ebda6 # Parent d9870d3e955075768541032ca10fc05fc299307c start of a C++ binding on top of PAPI. diff -r d9870d3e9550 -r 3aafc46605b4 src/libaudacious++/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/libaudacious++/Makefile Sun Dec 30 22:44:58 2007 -0600 @@ -0,0 +1,6 @@ +PACKAGE = audacious++ +STATIC_LIB = libaudacious++.a +SRCS = plugin.cxx + +include ../../buildsys.mk +include ../../extra.mk diff -r d9870d3e9550 -r 3aafc46605b4 src/libaudacious++/README --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/libaudacious++/README Sun Dec 30 22:44:58 2007 -0600 @@ -0,0 +1,1 @@ +this is a work in progress. it's not GPL yet. don't use it. --nenolod diff -r d9870d3e9550 -r 3aafc46605b4 src/libaudacious++/plugin.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/libaudacious++/plugin.h Sun Dec 30 22:44:58 2007 -0600 @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2008 William Pitcock + * + * [insert GPL license here later] + */ + +#ifndef __AUDACIOUSXX__PLUGIN_H_GUARD +#define __AUDACIOUSXX__PLUGIN_H_GUARD + +#include + +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