blob: 51dd81bfc09825b2ce40af3d46df0ca02d056d4d [file] [log] [blame]
David Tolnay7db73692019-10-20 14:51:12 -04001#pragma once
2#include "../include/cxxbridge.h"
3#include <memory>
4#include <string>
5
6namespace org {
7namespace rust {
8
9class ThingC {
10public:
11 ThingC(std::string appname);
12 ~ThingC();
13
14 std::string appname;
15};
16
17struct SharedThing;
18
19std::unique_ptr<ThingC> make_demo(cxxbridge::RustStr appname);
20const std::string &get_name(const ThingC &thing);
21void do_thing(SharedThing state);
22
23} // namespace rust
24} // namespace org