Skip to content

Commit

Permalink
fixup 'libmythbase/mythcorecontext.h: remove unnecessary include of "…
Browse files Browse the repository at this point in the history
…mythlogging.h"'

git grep -l mythlogging.h > mythlogging.txt; git grep -l -w -E "LOG|VERBOSE_" -- mythplugins mythtv/libs mythtv/programs > LOG.txt; git diff --no-index -U0 mythlogging.txt LOG.txt

git grep -l mythlogging.h -- *.h

Only header in mythplugins is a header only file.
  • Loading branch information
ulmus-scott committed Dec 2, 2024
1 parent a57d74a commit 5940b60
Show file tree
Hide file tree
Showing 68 changed files with 65 additions and 3 deletions.
1 change: 1 addition & 0 deletions mythplugins/mytharchive/mytharchive/archivedbcheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythdb.h>
#include <libmythbase/mythdbcheck.h>
#include <libmythbase/mythlogging.h>

// mytharchive
#include "archivedbcheck.h"
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mytharchive/mytharchive/exportnative.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include <libmythbase/exitcodes.h>
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythdb.h>
#include <libmythbase/mythlogging.h>
#include <libmythbase/mythsystemlegacy.h>
#include <libmythbase/programinfo.h>
#include <libmythbase/remoteutil.h>
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mytharchive/mytharchive/fileselector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

// Myth
#include <libmythbase/mythdb.h>
#include <libmythbase/mythlogging.h>
#include <libmythbase/stringutil.h>
#include <libmythui/mythdialogbox.h>
#include <libmythui/mythmainwindow.h>
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mytharchive/mytharchive/importnative.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythdate.h>
#include <libmythbase/mythdbcon.h>
#include <libmythbase/mythlogging.h>
#include <libmythbase/mythsystemlegacy.h>
#include <libmythui/mythdialogbox.h>
#include <libmythui/mythmainwindow.h>
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mytharchive/mytharchive/logviewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// mythtv
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythdbcon.h>
#include <libmythbase/mythlogging.h>
#include <libmythui/mythdialogbox.h>
#include <libmythui/mythmainwindow.h>
#include <libmythui/mythuibutton.h>
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mytharchive/mytharchive/mytharchive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
// mythtv
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythcoreutil.h>
#include <libmythbase/mythlogging.h>
#include <libmythbase/mythplugin.h>
#include <libmythbase/mythpluginapi.h>
#include <libmythbase/mythsystemlegacy.h>
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mytharchive/mytharchive/mythburn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <libmythbase/mythdate.h>
#include <libmythbase/mythdb.h>
#include <libmythbase/mythdirs.h>
#include <libmythbase/mythlogging.h>
#include <libmythbase/mythmiscutil.h>
#include <libmythbase/mythsystemlegacy.h>
#include <libmythbase/stringutil.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

#include <QString>

#include <libmythbase/mythlogging.h>
#include <libmythbase/remotefile.h>

extern "C" {
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mytharchive/mytharchive/selectdestination.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// myth
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythcoreutil.h>
#include <libmythbase/mythlogging.h>
#include <libmythbase/stringutil.h>
#include <libmythui/mythmainwindow.h>
#include <libmythui/mythuibutton.h>
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mytharchive/mytharchive/themeselector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// myth
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythdirs.h>
#include <libmythbase/mythlogging.h>
#include <libmythui/mythmainwindow.h>
#include <libmythui/mythuibutton.h>
#include <libmythui/mythuibuttonlist.h>
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mytharchive/mytharchive/thumbfinder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
#include <libmythbase/mythdate.h>
#include <libmythbase/mythdbcon.h>
#include <libmythbase/mythdirs.h>
#include <libmythbase/mythlogging.h>
#include <libmythbase/mythmiscutil.h> // for MythFile::copy
#include <libmythbase/programinfo.h>
#include <libmythui/mythdialogbox.h>
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mytharchive/mytharchive/videoselector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
// mythtv
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythdb.h>
#include <libmythbase/mythlogging.h>
#include <libmythbase/remotefile.h>
#include <libmythbase/stringutil.h>
#include <libmythbase/storagegroup.h>
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythbrowser/mythbrowser/bookmarkeditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// MythTV
#include <libmythbase/mythdate.h>
#include <libmythbase/mythdbcon.h>
#include <libmythbase/mythlogging.h>
#include <libmythui/mythmainwindow.h>

// mythbrowser
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythbrowser/mythbrowser/bookmarkmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythdbcon.h>
#include <libmythbase/mythdirs.h>
#include <libmythbase/mythlogging.h>
#include <libmythbase/mythsystemlegacy.h>
#include <libmythui/mythmainwindow.h>
#include <libmythui/mythuibuttonlist.h>
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythbrowser/mythbrowser/browserdbutil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythdb.h>
#include <libmythbase/mythdbcheck.h>
#include <libmythbase/mythlogging.h>
#include <libmythbase/mythsorthelper.h>

// mythbrowser
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythbrowser/mythbrowser/libmythbrowser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

// MythTV
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythlogging.h>
#include <libmythbase/mythpluginapi.h>
#include <libmythbase/mythversion.h>
#include <libmythui/mythmainwindow.h>
Expand Down
1 change: 0 additions & 1 deletion mythplugins/mythbrowser/mythbrowser/webpage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include <QIcon>

// MythTV
#include <libmythbase/mythlogging.h>
#include <libmythui/mythmainwindow.h>

// mythbrowser
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythgame/mythgame/gamedbcheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythdb.h>
#include <libmythbase/mythdbcheck.h>
#include <libmythbase/mythlogging.h>

// MythGame
#include "gamedbcheck.h"
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythgame/mythgame/gamehandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythdb.h>
#include <libmythbase/mythdbcon.h>
#include <libmythbase/mythlogging.h>
#include <libmythbase/mythsystemlegacy.h>
#include <libmythui/mythdialogbox.h>
#include <libmythui/mythmainwindow.h>
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythgame/mythgame/gamesettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// MythTV
#include <libmythbase/mythdb.h>
#include <libmythbase/mythdirs.h>
#include <libmythbase/mythlogging.h>

// MythGame
#include "gamesettings.h"
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythgame/mythgame/gameui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// MythTV
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythdirs.h>
#include <libmythbase/mythlogging.h>
#include <libmythmetadata/mythuimetadataresults.h>
#include <libmythui/mythdialogbox.h>
#include <libmythui/mythgenerictree.h>
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythgame/mythgame/mythgame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include <libmythbase/lcddevice.h>
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythdbcon.h>
#include <libmythbase/mythlogging.h>
#include <libmythbase/mythpluginapi.h>
#include <libmythbase/mythversion.h>
#include <libmythui/myththemedmenu.h>
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythgame/mythgame/romedit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// MythtTV
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythdirs.h>
#include <libmythbase/mythlogging.h>
#include <libmythui/mythdialogbox.h>
#include <libmythui/mythmainwindow.h>
#include <libmythui/mythuibutton.h>
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/editmetadata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythdbcon.h>
#include <libmythbase/mythdirs.h>
#include <libmythbase/mythlogging.h>
#include <libmythbase/remotefile.h>
#include <libmythmetadata/metaio.h>
#include <libmythmetadata/musicutils.h>
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/flacencoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <QString>

// MythTV
#include <libmythbase/mythlogging.h>
#include <libmythmetadata/metaioflacvorbis.h>
#include <libmythmetadata/musicmetadata.h>

Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/generalsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

// MythTV
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythlogging.h>
#include <libmythui/mythdialogbox.h>

// MythMusic
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/importsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

// MythTV
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythlogging.h>

// MythMusic
#include "importsettings.h"
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/lyricsview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <libmythbase/mythdbcon.h>
#include <libmythbase/mythdirs.h>
#include <libmythbase/mythdownloadmanager.h>
#include <libmythbase/mythlogging.h>
#include <libmythbase/mythversion.h>
#include <libmythui/mythdialogbox.h>
#include <libmythui/mythmainwindow.h>
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/mainvisual.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

// MythTV
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythlogging.h>
#include <libmythui/mythuivideo.h>

// mythmusic
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/miniplayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

// MythTV
#include <libmythbase/lcddevice.h>
#include <libmythbase/mythlogging.h>
#include <libmythui/mythmainwindow.h>

// mythmusic
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/musicbrainz.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <QFile>

// MythTV
#include <libmythbase/mythlogging.h>
#include "libmythbase/mythmiscutil.h"

#ifdef HAVE_MUSICBRAINZ
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/musiccommon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <libmythbase/lcddevice.h>
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythdate.h>
#include <libmythbase/mythlogging.h>
#include <libmythbase/mythrandom.h>
#include <libmythui/mythdialogbox.h>
#include <libmythui/mythuibutton.h>
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/musicdata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// MythTV
#include <libmythbase/mthreadpool.h>
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythlogging.h>
#include <libmythmetadata/musicfilescanner.h>
#include <libmythmetadata/musicmetadata.h>
#include <libmythmetadata/musicutils.h>
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/musicdbcheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythdb.h>
#include <libmythbase/mythdbcheck.h>
#include <libmythbase/mythlogging.h>
#include <libmythmetadata/musicmetadata.h>

// MythMusic
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/musicplayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include <libmythbase/mthreadpool.h>
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythdb.h>
#include <libmythbase/mythlogging.h>
#include <libmythmetadata/metaio.h>
#include <libmythmetadata/musicutils.h>
#include <libmythui/mythdialogbox.h>
Expand Down
1 change: 0 additions & 1 deletion mythplugins/mythmusic/mythmusic/mythgoom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
// MythTV
#include <libmythbase/compat.h>
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythlogging.h>

// Goom
#include "libmythtv/visualisations/goom/goom_tools.h"
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/mythmusic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythdb.h>
#include <libmythbase/mythdbcon.h>
#include <libmythbase/mythlogging.h>
#include <libmythbase/mythplugin.h>
#include <libmythbase/mythpluginapi.h>
#include <libmythbase/mythversion.h>
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/playersettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

// MythTV
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythlogging.h>

// MythMusic
#include "musicplayer.h"
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/playlist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <libmythbase/exitcodes.h>
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythdb.h>
#include <libmythbase/mythlogging.h>
#include <libmythbase/mythmiscutil.h>
#include <libmythbase/mythsystemlegacy.h>

Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/playlisteditorview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythdbcon.h>
#include <libmythbase/mythdirs.h>
#include <libmythbase/mythlogging.h>
#include <libmythmetadata/musicutils.h>
#include <libmythui/mythdialogbox.h>
#include <libmythui/mythmainwindow.h>
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/playlistview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <QKeyEvent>

// MythTV
#include <libmythbase/mythlogging.h>
#include <libmythui/mythdialogbox.h>

// mythmusic
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/ratingsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

// MythTV
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythlogging.h>

#include "ratingsettings.h"

Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/searchview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

// MythTV
#include <libmythbase/mythdb.h>
#include <libmythbase/mythlogging.h>
#include <libmythui/mythdialogbox.h>
#include <libmythui/mythuibuttonlist.h>
#include <libmythui/mythuitext.h>
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/smartplaylist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
// MythTV
#include <libmythbase/mythdate.h>
#include <libmythbase/mythdb.h>
#include <libmythbase/mythlogging.h>
#include <libmythmetadata/musicmetadata.h>
#include <libmythui/mythdialogbox.h>
#include <libmythui/mythmainwindow.h>
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/streamview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <libmythbase/mythdbcon.h>
#include <libmythbase/mythdirs.h>
#include <libmythbase/mythdownloadmanager.h>
#include <libmythbase/mythlogging.h>
#include <libmythmetadata/musicutils.h>
#include <libmythui/mythdialogbox.h>
#include <libmythui/mythmainwindow.h>
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/visualizationsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

// MythTV
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythlogging.h>

#include "visualizationsettings.h"

Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/visualize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
// MythTV
#include <libmythbase/mythcorecontext.h>
#include <libmythbase/mythdbcon.h>
#include <libmythbase/mythlogging.h>
#include <libmythbase/remotefile.h>
#include <libmythbase/sizetliteral.h>
#include <libmythbase/mythdirs.h>
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/visualizerview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

// myth
#include <libmythbase/mythdbcon.h>
#include <libmythbase/mythlogging.h>
#include <libmythui/mythmainwindow.h>
#include <libmythui/mythuibuttonlist.h>
#include <libmythui/mythuiimage.h>
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/vorbisencoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <QString>

// MythTV
#include <libmythbase/mythlogging.h>
#include <libmythbase/mythrandom.h>
#include <libmythmetadata/metaiooggvorbis.h>
#include <libmythmetadata/musicmetadata.h>
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythnetvision/mythnetvision/netbase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <libmythbase/mythcoreutil.h>
#include <libmythbase/mythdate.h>
#include <libmythbase/mythdirs.h>
#include <libmythbase/mythlogging.h>
#include <libmythbase/remotefile.h>
#include <libmythbase/remoteutil.h>
#include <libmythbase/storagegroup.h>
Expand Down
Loading

0 comments on commit 5940b60

Please sign in to comment.