aboutsummaryrefslogtreecommitdiff
path: root/xbmc/network/NetworkFileItemClassify.h
blob: 5a96a982531a87d8c38589f49dae8b78431f6938 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 *  Copyright (C) 2005-2018 Team Kodi
 *  This file is part of Kodi - https://kodi.tv
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 *  See LICENSES/README.md for more information.
 */

#pragma once

class CFileItem;

namespace KODI::NETWORK
{

//! \brief Check whether an item is a an internet stream.
bool IsInternetStream(const CFileItem& item, const bool bStrictCheck = false);

//! \brief Check whether an item is on a remote location.
bool IsRemote(const CFileItem& item);

//! \brief Check whether an item is on a streamed filesystem.
bool IsStreamedFilesystem(const CFileItem& item);
} // namespace KODI::NETWORK