Publish server and protocol version on avahi
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "version.h"
|
||||
|
||||
const char git_version[] = "@GIT_DESC@";
|
||||
namespace xrt::drivers::wivrn
|
||||
{
|
||||
const char git_version[] = "@GIT_DESC@";
|
||||
}
|
||||
|
||||
+11
-1
@@ -1,3 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
extern const char git_version[];
|
||||
#include "wivrn_serialization.h"
|
||||
#include "wivrn_packets.h"
|
||||
|
||||
|
||||
namespace xrt::drivers::wivrn
|
||||
{
|
||||
using protocol = std::pair<from_headset::packets, to_headset::packets>;
|
||||
|
||||
extern const char git_version[];
|
||||
static inline const constinit auto protocol_version = serialization_type_hash<protocol>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user