Skip to content

Commit

Permalink
Merge pull request xbmc#24408 from howie-f/v21-includes
Browse files Browse the repository at this point in the history
remove inclusion of MediaSource.h in GUIDialogVideoInfo.h
  • Loading branch information
ksooo authored Jan 3, 2024
2 parents 498deca + e566d4d commit 71cb21a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions xbmc/video/dialogs/GUIDialogVideoInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@

#pragma once

#include "MediaSource.h"
#include "guilib/GUIDialog.h"
#include "media/MediaType.h"

#include <memory>
#include <vector>

class CFileItem;
class CFileItemList;
class CMediaSource;
class CVideoDatabase;

class CGUIDialogVideoInfo :
Expand All @@ -37,7 +38,8 @@ class CGUIDialogVideoInfo :
const CFileItemList& CurrentDirectory() const { return *m_castList; }
bool HasListItems() const override { return true; }

static void AddItemPathToFileBrowserSources(VECSOURCES &sources, const CFileItem &item);
static void AddItemPathToFileBrowserSources(std::vector<CMediaSource>& sources,
const CFileItem& item);

static int ManageVideoItem(const std::shared_ptr<CFileItem>& item);
static bool UpdateVideoItemTitle(const std::shared_ptr<CFileItem>& pItem);
Expand Down
1 change: 1 addition & 0 deletions xbmc/video/dialogs/GUIDialogVideoManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

#include "FileItem.h"
#include "GUIUserMessages.h"
#include "MediaSource.h"
#include "ServiceBroker.h"
#include "dialogs/GUIDialogOK.h"
#include "dialogs/GUIDialogSelect.h"
Expand Down

0 comments on commit 71cb21a

Please sign in to comment.