[PVR][Estuary] Timer settings dialog: Show client name in timer type selection dialog...
[xbmc.git] / xbmc / application / AppParamParser.h
blob44907f83f13504c72d79aea5e8bec9eaa604576c
1 /*
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.
7 */
9 #pragma once
11 #include <memory>
12 #include <string>
14 class CAppParams;
16 class CAppParamParser
18 public:
19 CAppParamParser();
20 virtual ~CAppParamParser() = default;
22 void Parse(const char* const* argv, int nArgs);
24 std::shared_ptr<CAppParams> GetAppParams() const { return m_params; }
26 protected:
27 virtual void ParseArg(const std::string& arg);
28 virtual void DisplayHelp();
30 private:
31 void DisplayVersion();
33 std::shared_ptr<CAppParams> m_params;