2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
11 #include "IDirectory.h"
12 #include "utils/RegExp.h"
19 class CStackDirectory
: public IDirectory
23 ~CStackDirectory() override
;
24 bool GetDirectory(const CURL
& url
, CFileItemList
& items
) override
;
25 bool AllowAll() const override
{ return true; }
26 static std::string
GetStackedTitlePath(const std::string
&strPath
);
27 static std::string
GetStackedTitlePath(const std::string
&strPath
, VECCREGEXP
& RegExps
);
28 static std::string
GetFirstStackedFile(const std::string
&strPath
);
29 static bool GetPaths(const std::string
& strPath
, std::vector
<std::string
>& vecPaths
);
30 static std::string
ConstructStackPath(const CFileItemList
& items
, const std::vector
<int> &stack
);
31 static bool ConstructStackPath(const std::vector
<std::string
> &paths
, std::string
&stackedPath
);