testdiff2/SpiriQGC/libs/libevents/libevents_definitions.h

38 lines
841 B
C
Raw Normal View History

2023-12-06 13:51:14 -04:00
/****************************************************************************
*
* (c) 2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
*
****************************************************************************/
/*
* This header defines the events::EventType type.
*
*/
#pragma once
#include <cstdlib>
#include <cstdarg>
#include <QLoggingCategory>
Q_DECLARE_LOGGING_CATEGORY(EventsLog)
void qgc_events_parser_debug_printf(const char *fmt, ...);
//#define LIBEVENTS_PARSER_DEBUG_PRINTF qgc_events_parser_debug_printf
#define LIBEVENTS_DEBUG_PRINTF qgc_events_parser_debug_printf
#include "MAVLinkProtocol.h"
namespace events
{
using EventType = mavlink_event_t;
} // namespace events