/* * Copyright (c) 2012 Yoann Blein * Licensed under the simplified BSD license. * See Documentation/Licenses/BSD-simplified.txt for more information. */ #pragma once #include #include #include namespace Swift { class InputEventSerializer : public GenericPayloadSerializer { public: virtual std::string serializePayload(boost::shared_ptr) const; private: static std::string actionToString(InputEventPayload::Action action); static std::string eventTypeToString(InputEventPayload::Event::EventType eventType); }; }