Debian Codegraph @

CodeLite/LSP/JSONObject.h

raw
1 #ifndef JSONObject_H
2 #define JSONObject_H
3
4 #include "JSON.h"
5 #include "codelite_exports.h"
6 #include "IPathConverter.hpp"
7
8 namespace LSP
9 {
10 //===-----------------------------------------------------------------------------------
11 // Base type class
12 //===-----------------------------------------------------------------------------------
13 class WXDLLIMPEXP_CL Serializable
14 {
15 public:
16 Serializable() {}
17 virtual ~Serializable() {}
18 virtual JSONItem ToJSON(const wxString& name) const = 0;
19 virtual void FromJSON(const JSONItem& json) = 0;
20 };
21
22 }; // namespace LSP
23 #endif // JSONObject_H