From e1a63732f796c8057751cb7f8ac98a595b91692e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 12 Jan 2013 03:17:47 +0000 Subject: Bulk reformat. git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4929 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/Action.hpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/engine/Action.hpp') diff --git a/src/engine/Action.hpp b/src/engine/Action.hpp index 76834d9..f954a39 100644 --- a/src/engine/Action.hpp +++ b/src/engine/Action.hpp @@ -34,15 +34,20 @@ namespace Machina { /** An Action, executed on entering or exiting of a state. */ -struct Action : public Raul::Manageable, public Stateful { +struct Action + : public Raul::Manageable + , public Stateful { virtual void execute(MIDISink* sink, Raul::TimeStamp time) = 0; virtual void write_state(Sord::Model& model); }; -class PrintAction : public Action { +class PrintAction + : public Action +{ public: - PrintAction(const std::string& msg) : _msg(msg) {} + PrintAction(const std::string& msg) + : _msg(msg) {} void execute(MIDISink* sink, Raul::TimeStamp time) { std::cout << "t=" << time << ": " << _msg << std::endl; } -- cgit v1.2.1