kodi
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 
15 {
17  int32_t playlistId = -1;
18 };
19 
23 {
24 public:
26  CBlurayStateSerializer() = default;
27 
29  ~CBlurayStateSerializer() = default;
30 
37  bool XMLToBlurayState(BlurayState& state, const std::string& xmlstate);
38 
44  bool BlurayStateToXML(std::string& xmlstate, const BlurayState& state);
45 };
int32_t playlistId
Definition: BlurayStateSerializer.h:17
Auxiliar class to serialize/deserialize the Bluray state (into/from XML)
Definition: BlurayStateSerializer.h:22
Pod structure which represents the current Bluray state.
Definition: BlurayStateSerializer.h:14