1 /* 2 * 3 * Author: Giacomo Lozito <james@develia.org>, (C) 2005-2007 4 * 5 * This program is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License as published by the 7 * Free Software Foundation; either version 2 of the License, or (at your 8 * option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, but 11 * WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License along 16 * with this program; if not, write to the Free Software Foundation, Inc., 17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 18 * 19 */ 20 21 #ifndef _I_AOSD_H 22 #define _I_AOSD_H 1 23 24 #include <libaudcore/plugin.h> 25 26 struct PreferencesWidget; 27 28 class AOSD : public GeneralPlugin 29 { 30 public: 31 static const char about[]; 32 static const char * const defaults[]; 33 static const PreferencesWidget widgets[]; 34 static const PluginPreferences prefs; 35 36 static constexpr PluginInfo info = { 37 N_("AOSD (On-Screen Display)"), 38 PACKAGE, 39 about, 40 & prefs, 41 PluginGLibOnly 42 }; 43 AOSD()44 constexpr AOSD () : GeneralPlugin (info, false) {} 45 46 bool init (); 47 void cleanup (); 48 }; 49 50 #endif /* !_I_AOSD_H */ 51