diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-05-30 19:40:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-05-31 01:17:58 +0900 |
commit | d95a4fea540b371fa86493d069fdbd54f33c5b40 (patch) | |
tree | 079b038ab559439eb7ded40a07bd79fd92926b3b /tderadio3/plugins/soundserver | |
parent | e54890e0480e5adee69f5220a7c6dd072bbd75ea (diff) | |
download | tderadio-d95a4fea540b371fa86493d069fdbd54f33c5b40.tar.gz tderadio-d95a4fea540b371fa86493d069fdbd54f33c5b40.zip |
Standardize folder structure.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tderadio3/plugins/soundserver')
-rw-r--r-- | tderadio3/plugins/soundserver/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | tderadio3/plugins/soundserver/Makefile.am | 18 | ||||
-rw-r--r-- | tderadio3/plugins/soundserver/po/Makefile.am | 2 | ||||
-rw-r--r-- | tderadio3/plugins/soundserver/soundserver.cpp | 74 | ||||
-rw-r--r-- | tderadio3/plugins/soundserver/soundserver.h | 54 |
5 files changed, 0 insertions, 154 deletions
diff --git a/tderadio3/plugins/soundserver/CMakeL10n.txt b/tderadio3/plugins/soundserver/CMakeL10n.txt deleted file mode 100644 index afd005e..0000000 --- a/tderadio3/plugins/soundserver/CMakeL10n.txt +++ /dev/null @@ -1,6 +0,0 @@ -##### create translation templates ############## - -tde_l10n_create_template( - CATALOG "tderadio-soundserver" - DESTINATION "po" -) diff --git a/tderadio3/plugins/soundserver/Makefile.am b/tderadio3/plugins/soundserver/Makefile.am deleted file mode 100644 index bac5fe3..0000000 --- a/tderadio3/plugins/soundserver/Makefile.am +++ /dev/null @@ -1,18 +0,0 @@ -SUBDIRS = po . - -INCLUDES = $(all_includes) -METASOURCES = AUTO - -libtderadio_LTLIBRARIES = libsoundserver.la - -libsoundserver_la_SOURCES = soundserver.cpp -libsoundserver_la_LDFLAGS = -module -avoid-version $(KDE_RPATH) $(all_libraries) - -noinst_HEADERS = soundserver.h - -#messages: rc.cpp -# $(XGETTEXT) *.cpp *.h -o po/tderadio-sound-server.pot - -messages: rc.cpp - $(EXTRACTRC) *.rc *.ui >> rc.cpp - $(XGETTEXT) rc.cpp *.h *.cpp -o po/tderadio-soundserver.pot diff --git a/tderadio3/plugins/soundserver/po/Makefile.am b/tderadio3/plugins/soundserver/po/Makefile.am deleted file mode 100644 index f469927..0000000 --- a/tderadio3/plugins/soundserver/po/Makefile.am +++ /dev/null @@ -1,2 +0,0 @@ -PACKAGE = tderadio-soundserver -POFILES = AUTO diff --git a/tderadio3/plugins/soundserver/soundserver.cpp b/tderadio3/plugins/soundserver/soundserver.cpp deleted file mode 100644 index 305e4c2..0000000 --- a/tderadio3/plugins/soundserver/soundserver.cpp +++ /dev/null @@ -1,74 +0,0 @@ -/*************************************************************************** - soundserver.cpp - description - ------------------- - begin : Sun Apr 17 2005 - copyright : (C) 2003 by Martin Witte - email : witte@kawo1.rwth-aachen.de - ***************************************************************************/ - -/*************************************************************************** - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - ***************************************************************************/ - -#include "soundserver.h" - -#include <tdeapplication.h> -#include <tdelocale.h> - - -/////////////////////////////////////////////////////////////////////// -//// plugin library functions - -PLUGIN_LIBRARY_FUNCTIONS(SoundServer, "tderadio-soundserver", i18n("SoundServer")); - -///////////////////////////////////////////////////////////////////////////// - -SoundServer::SoundServer(const TQString &name) - : PluginBase(name, i18n("SoundServer Plugin")) -{ - logDebug(i18n("initializing tderadio soundserver")); -} - -SoundServer::~SoundServer() -{ -} - -bool SoundServer::connectI (Interface *i) -{ - bool a = PluginBase::connectI(i); - bool b = ISoundStreamServer::connectI(i); - return a || b; -} - - -bool SoundServer::disconnectI (Interface *i) -{ - bool a = PluginBase::disconnectI(i); - bool b = ISoundStreamServer::disconnectI(i); - return a || b; -} - - - -void SoundServer::saveState (TDEConfig *) const -{ -} - -void SoundServer::restoreState (TDEConfig *) -{ -} - -ConfigPageInfo SoundServer::createConfigurationPage() -{ - return ConfigPageInfo (); -} - -AboutPageInfo SoundServer::createAboutPage() -{ - return AboutPageInfo(); -} diff --git a/tderadio3/plugins/soundserver/soundserver.h b/tderadio3/plugins/soundserver/soundserver.h deleted file mode 100644 index f01e863..0000000 --- a/tderadio3/plugins/soundserver/soundserver.h +++ /dev/null @@ -1,54 +0,0 @@ -/*************************************************************************** - soundserver.h - description - ------------------- - begin : Sun Apr 17 2005 - copyright : (C) 2003 by Martin Witte - email : witte@kawo1.rwth-aachen.de - ***************************************************************************/ - -/*************************************************************************** - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - ***************************************************************************/ - -#ifndef KRADIO_SOUNDSERVER_H -#define KRADIO_SOUNDSERVER_H - -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - -#include "../../src/include/soundstreamclient_interfaces.h" -#include "../../src/include/plugins.h" - - -class SoundServer : public PluginBase, - public ISoundStreamServer -{ -public: - SoundServer(const TQString &name); - ~SoundServer(); - - virtual bool connectI (Interface *); - virtual bool disconnectI (Interface *); - - virtual TQString pluginClassName() const { return "SoundServer"; } - - virtual const TQString &name() const { return PluginBase::name(); } - virtual TQString &name() { return PluginBase::name(); } - - // PluginBase - -public: - virtual void saveState (TDEConfig *) const; - virtual void restoreState (TDEConfig *); - - virtual ConfigPageInfo createConfigurationPage(); - virtual AboutPageInfo createAboutPage(); -}; - -#endif |