1 /*
2  * Copyright OpenEmbedded Contributors
3  *
4  * SPDX-License-Identifier: MIT
5  */
6 
7 #pragma once
8 
9 #include <string>
10 
11 struct CppExample
12 {
13     inline static const std::string test_string = "cpp-example-lib Magic: 123456789";
14 
15     /* Retrieve a constant string */
16     const std::string &get_string();
17     /* Retrieve a constant string from a library */
18     const char *get_json_c_version();
19     /* Call a more advanced function from a library */
20     void print_json();
21 };
22