Djinni Library  2.0.0
Cross-Platform Library
Native.hpp
Go to the documentation of this file.
1// AUTOGENERATED FILE - DO NOT MODIFY!
2// This file was generated by Djinni from my_djinni_library.djinni
3
4#pragma once
5
6#include "My/DjinniLibrary/native.hpp"
7#include <memory>
8
9namespace My { namespace DjinniLibrary { namespace cppcli {
10
11public ref class Native abstract {
12public:
13 virtual System::String^ HelloFromNative() abstract;
14
15internal:
16 using CppType = std::shared_ptr<::My::DjinniLibrary::Native>;
17 using CppOptType = std::shared_ptr<::My::DjinniLibrary::Native>;
18 using CsType = Native^;
19
20 static CppType ToCpp(CsType cs);
21 static CsType FromCppOpt(const CppOptType& cpp);
22 static CsType FromCpp(const CppType& cpp) { return FromCppOpt(cpp); }
23};
24
25} } } // namespace My::DjinniLibrary::cppcli
Definition: Native.hpp:11
virtual System::String ^ HelloFromNative() override
Definition: Example.hpp:10