kodi
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 {
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 }
Base class for video tag loaders.
Definition: IVideoInfoTagLoader.h:25
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
Definition: Application.h:72
Definition: VideoInfoTagLoaderFactory.h:18
Represents a file on a share.
Definition: FileItem.h:102