[*] Improve readme by readding the <...>

[*] Improve readme by readding the <...> include to indicate the user should include their public api to initialize the interfaces within that particular header
This commit is contained in:
Reece Wilson 2021-10-28 21:22:04 +00:00
parent d7cfbb6c7e
commit 1d158614bd

View File

@ -27,12 +27,14 @@ LIB_INTERFACE(IInputMouseSubscriber,
#define MY_LIB_GEN_BINDINGS #define MY_LIB_GEN_BINDINGS
#include <AuroraForEach.hpp> #include <AuroraForEach.hpp>
#include <AuroraInterfaces.hpp> #include <AuroraInterfaces.hpp>
#include <[MyPublicAPI].hpp>
``` ```
#### Usage: C++ inheritance (covers SWIG and CppSharp) #### Usage: C++ inheritance (covers SWIG and CppSharp)
``` ```
#include <AuroraForEach.hpp> #include <AuroraForEach.hpp>
#include <AuroraInterfaces.hpp> #include <AuroraInterfaces.hpp>
#include <[MyPublicAPI].hpp>
struct MyEventHandler : public IInputMouseSubscriber struct MyEventHandler : public IInputMouseSubscriber
{ {