kodi
xbmc
video
tags
VideoInfoTagLoaderFactory.h
1
/*
2
* Copyright (C) 2017-2018 Team Kodi
3
* This file is part of Kodi - https://kodi.tv
4
*
5
* SPDX-License-Identifier: GPL-2.0-or-later
6
* See LICENSES/README.md for more information.
7
*/
8
9
#pragma once
10
11
#include "IVideoInfoTagLoader.h"
12
#include "addons/Scraper.h"
13
14
class
CFileItem
;
// forward
15
16
namespace
VIDEO
17
{
18
class
CVideoInfoTagLoaderFactory
19
{
20
public
:
24
static
IVideoInfoTagLoader
*
CreateLoader
(
const
CFileItem
& item,
25
const
ADDON::ScraperPtr& info,
26
bool
lookInFolder,
27
bool
forceRefresh =
false
);
28
29
protected
:
30
// No instancing of this class
31
CVideoInfoTagLoaderFactory
(
void
) =
delete
;
32
virtual
~
CVideoInfoTagLoaderFactory
() =
delete
;
33
};
34
}
VIDEO::IVideoInfoTagLoader
Base class for video tag loaders.
Definition:
IVideoInfoTagLoader.h:25
VIDEO::CVideoInfoTagLoaderFactory::CreateLoader
static IVideoInfoTagLoader * CreateLoader(const CFileItem &item, const ADDON::ScraperPtr &info, bool lookInFolder, bool forceRefresh=false)
Returns a tag loader for the given item.
Definition:
VideoInfoTagLoaderFactory.cpp:19
VIDEO
Definition:
Application.h:72
VIDEO::CVideoInfoTagLoaderFactory
Definition:
VideoInfoTagLoaderFactory.h:18
CFileItem
Represents a file on a share.
Definition:
FileItem.h:102
Generated by
1.8.13