Files
openvehicle-api/examples/_howto_examples/source/example_interfaces.h
tompzf 6ed4b1534e Precommit (#1)
* first commit

* cleanup
2025-11-04 13:28:06 +01:00

22 lines
742 B
C

#include <interfaces/core.h>
#include <support/signal_support.h>
interface ISayHello ///< interface example ISayHello
{
virtual void SayHello() = 0; ///< function og the interface
static constexpr ::sdv::interface_id _id = 0xA012345678900100; ///< Interface Id
};
interface ISayGoodbye ///< interface example ISayGoodbye
{
virtual void SayGoodbye() = 0; ///< function og the interface
static constexpr ::sdv::interface_id _id = 0xA012345678900200; ///< Interface Id
};
interface IShowExample ///< interface example IShowExample
{
virtual void Show() = 0; ///< function og the interface
static constexpr ::sdv::interface_id _id = 0xA012345678900300; ///< Interface Id
};