kodi
GUIContentUtils.h
1 /*
2  * Copyright (C) 2023 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 class CFileItem;
12 
13 namespace UTILS
14 {
15 namespace GUILIB
16 {
18 {
19 public:
24  static bool HasInfoForItem(const CFileItem& item);
25 
30  static bool ShowInfoForItem(const CFileItem& item);
31 };
32 } // namespace GUILIB
33 } // namespace UTILS
static bool ShowInfoForItem(const CFileItem &item)
Show an information dialog for the given item.
Definition: GUIContentUtils.cpp:37
Definition: ColorUtils.h:18
Definition: GUIContentUtils.h:17
static bool HasInfoForItem(const CFileItem &item)
Check whether an information dialog is available for the given item.
Definition: GUIContentUtils.cpp:22
Represents a file on a share.
Definition: FileItem.h:102