kodi
GUIDialogSelectGameClient.h
1 /*
2  * Copyright (C) 2016-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 "games/GameTypes.h"
12 
13 #include <string>
14 
15 class CGUIDialogSelect;
16 
17 namespace KODI
18 {
19 namespace GAME
20 {
25 {
26 public:
40  static std::string ShowAndGetGameClient(const std::string& gamePath,
41  const GameClientVector& candidates,
42  const GameClientVector& installable);
43 
44 private:
53  static CGUIDialogSelect* GetDialog(const std::string& title);
54 
60  static void LogGameClients(const GameClientVector& candidates,
61  const GameClientVector& installable);
62 };
63 } // namespace GAME
64 } // namespace KODI
Definition: GUIDialogSelect.h:20
Definition: AudioDecoder.h:18
std::vector< GameClientPtr > GameClientVector
Vector of smart pointers to a game client (CGameClient)
Definition: GameTypes.h:36
Definition: GUIDialogSelectGameClient.h:24
static std::string ShowAndGetGameClient(const std::string &gamePath, const GameClientVector &candidates, const GameClientVector &installable)
Show a series of dialogs that results in a game client being selected.
Definition: GUIDialogSelectGameClient.cpp:26