Program Listing for File EventUserApp.hpp

Return to documentation for file (doc/include/EventUserApp.hpp)

#ifndef EVENT_USER_APP_HPP_
#define EVENT_USER_APP_HPP_

#include <nlohmann/json.hpp>

#include "EventBase.hpp"

class EventUserApp : public EventBase {
public:
    EventUserApp();
    virtual ~EventUserApp() {}
};

// This function is weak defined, that means that it will only be used if the user doesn't provide another one.
void __attribute__((weak)) to_json(nlohmann::json& json, const EventUserApp& event);

#endif  // EVENT_USER_APP_HPP_