diff options
Diffstat (limited to 'src/event_to_string.hpp')
-rw-r--r-- | src/event_to_string.hpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/event_to_string.hpp b/src/event_to_string.hpp new file mode 100644 index 0000000..926065c --- /dev/null +++ b/src/event_to_string.hpp @@ -0,0 +1,22 @@ +// Copyright 2007-2020 David Robillard <d@drobilla.net> +// SPDX-License-Identifier: GPL-3.0-or-later + +#ifndef PATCHAGE_EVENT_TO_STRING_HPP +#define PATCHAGE_EVENT_TO_STRING_HPP + +#include "Event.hpp" + +#include <iosfwd> +#include <string> + +namespace patchage { + +std::string +event_to_string(const Event& event); + +std::ostream& +operator<<(std::ostream& os, const Event& event); + +} // namespace patchage + +#endif // PATCHAGE_EVENT_TO_STRING_HPP |