#ifndef __animia__animia__player_h
#define __animia__animia__player_h

#include <string>
#include <vector>

namespace animia {

enum class Strategy {
	WindowTitle, // unused
	OpenFiles,
	UiAutomation // unused
};

enum class PlayerType {
	Default,
	WebBrowser // unused
};

struct Player {
	PlayerType type = PlayerType::Default;
	std::string name;
	std::string window_title_format;
	std::vector<std::string> windows;
	std::vector<std::string> executables;
	std::vector<Strategy> strategies;
};

bool ParsePlayersData(const std::string& data, std::vector<Player>& players);
bool ParsePlayersFile(const std::string& path, std::vector<Player>& players);

} // namespace animia

#endif // __animia__animia__player_h