xbmc
BlurayStateSerializer.h
1 /*
2  * Copyright (C) 2022 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 <string>
12 
13 class TiXmlElement;
14 
17 {
19  int32_t playlistId = -1;
20 };
21 
25 {
26 public:
28  CBlurayStateSerializer() = default;
29 
31  ~CBlurayStateSerializer() = default;
32 
39  bool XMLToBlurayState(BlurayState& state, const std::string& xmlstate);
40 
46  bool BlurayStateToXML(std::string& xmlstate, const BlurayState& state);
47 };
int32_t playlistId
Definition: BlurayStateSerializer.h:19
Auxiliar class to serialize/deserialize the Bluray state (into/from XML)
Definition: BlurayStateSerializer.h:24
Pod structure which represents the current Bluray state.
Definition: BlurayStateSerializer.h:16