From fb48f663702295532c1e8a9b3717e281ed9a327b Mon Sep 17 00:00:00 2001 From: shenleban tongying Date: Sun, 10 Nov 2024 17:30:10 -0500 Subject: [PATCH] move audio files to src/audio a --- src/audio/README.md | 3 +++ src/{ => audio}/audiooutput.cc | 0 src/{ => audio}/audiooutput.hh | 0 src/{ => audio}/audioplayerfactory.cc | 0 src/{ => audio}/audioplayerfactory.hh | 0 src/{ => audio}/audioplayerinterface.hh | 0 src/{ => audio}/externalaudioplayer.cc | 0 src/{ => audio}/externalaudioplayer.hh | 0 src/{ => audio}/ffmpegaudio.cc | 0 src/{ => audio}/ffmpegaudio.hh | 0 src/{ => audio}/ffmpegaudioplayer.hh | 0 src/{ => audio}/multimediaaudioplayer.cc | 0 src/{ => audio}/multimediaaudioplayer.hh | 0 src/ui/articleview.hh | 2 +- src/ui/mainwindow.hh | 2 +- 15 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 src/audio/README.md rename src/{ => audio}/audiooutput.cc (100%) rename src/{ => audio}/audiooutput.hh (100%) rename src/{ => audio}/audioplayerfactory.cc (100%) rename src/{ => audio}/audioplayerfactory.hh (100%) rename src/{ => audio}/audioplayerinterface.hh (100%) rename src/{ => audio}/externalaudioplayer.cc (100%) rename src/{ => audio}/externalaudioplayer.hh (100%) rename src/{ => audio}/ffmpegaudio.cc (100%) rename src/{ => audio}/ffmpegaudio.hh (100%) rename src/{ => audio}/ffmpegaudioplayer.hh (100%) rename src/{ => audio}/multimediaaudioplayer.cc (100%) rename src/{ => audio}/multimediaaudioplayer.hh (100%) diff --git a/src/audio/README.md b/src/audio/README.md new file mode 100644 index 00000000..27639114 --- /dev/null +++ b/src/audio/README.md @@ -0,0 +1,3 @@ +Code to support GD's internal/external audio players. + +Only `audioplayerinterface.hh` is supposed to be used outside this folder. diff --git a/src/audiooutput.cc b/src/audio/audiooutput.cc similarity index 100% rename from src/audiooutput.cc rename to src/audio/audiooutput.cc diff --git a/src/audiooutput.hh b/src/audio/audiooutput.hh similarity index 100% rename from src/audiooutput.hh rename to src/audio/audiooutput.hh diff --git a/src/audioplayerfactory.cc b/src/audio/audioplayerfactory.cc similarity index 100% rename from src/audioplayerfactory.cc rename to src/audio/audioplayerfactory.cc diff --git a/src/audioplayerfactory.hh b/src/audio/audioplayerfactory.hh similarity index 100% rename from src/audioplayerfactory.hh rename to src/audio/audioplayerfactory.hh diff --git a/src/audioplayerinterface.hh b/src/audio/audioplayerinterface.hh similarity index 100% rename from src/audioplayerinterface.hh rename to src/audio/audioplayerinterface.hh diff --git a/src/externalaudioplayer.cc b/src/audio/externalaudioplayer.cc similarity index 100% rename from src/externalaudioplayer.cc rename to src/audio/externalaudioplayer.cc diff --git a/src/externalaudioplayer.hh b/src/audio/externalaudioplayer.hh similarity index 100% rename from src/externalaudioplayer.hh rename to src/audio/externalaudioplayer.hh diff --git a/src/ffmpegaudio.cc b/src/audio/ffmpegaudio.cc similarity index 100% rename from src/ffmpegaudio.cc rename to src/audio/ffmpegaudio.cc diff --git a/src/ffmpegaudio.hh b/src/audio/ffmpegaudio.hh similarity index 100% rename from src/ffmpegaudio.hh rename to src/audio/ffmpegaudio.hh diff --git a/src/ffmpegaudioplayer.hh b/src/audio/ffmpegaudioplayer.hh similarity index 100% rename from src/ffmpegaudioplayer.hh rename to src/audio/ffmpegaudioplayer.hh diff --git a/src/multimediaaudioplayer.cc b/src/audio/multimediaaudioplayer.cc similarity index 100% rename from src/multimediaaudioplayer.cc rename to src/audio/multimediaaudioplayer.cc diff --git a/src/multimediaaudioplayer.hh b/src/audio/multimediaaudioplayer.hh similarity index 100% rename from src/multimediaaudioplayer.hh rename to src/audio/multimediaaudioplayer.hh diff --git a/src/ui/articleview.hh b/src/ui/articleview.hh index 5500fc34..144d6d43 100644 --- a/src/ui/articleview.hh +++ b/src/ui/articleview.hh @@ -10,7 +10,7 @@ #include #include #include "article_netmgr.hh" -#include "audioplayerinterface.hh" +#include "audio/audioplayerinterface.hh" #include "instances.hh" #include "groupcombobox.hh" #include "globalbroadcaster.hh" diff --git a/src/ui/mainwindow.hh b/src/ui/mainwindow.hh index fcf108c7..51d3a2b5 100644 --- a/src/ui/mainwindow.hh +++ b/src/ui/mainwindow.hh @@ -14,7 +14,7 @@ #include "config.hh" #include "dict/dictionary.hh" #include "article_netmgr.hh" -#include "audioplayerfactory.hh" +#include "audio/audioplayerfactory.hh" #include "instances.hh" #include "article_maker.hh" #include "scanpopup.hh"