Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/ghost/intern/GHOST_EventPrinter.h')
-rw-r--r--intern/ghost/intern/GHOST_EventPrinter.h33
1 files changed, 16 insertions, 17 deletions
diff --git a/intern/ghost/intern/GHOST_EventPrinter.h b/intern/ghost/intern/GHOST_EventPrinter.h
index 6ac3e1ee68a..fad9ec3cc69 100644
--- a/intern/ghost/intern/GHOST_EventPrinter.h
+++ b/intern/ghost/intern/GHOST_EventPrinter.h
@@ -33,23 +33,22 @@
* An Event consumer that prints all the events to standard out.
* Really useful when debugging.
*/
-class GHOST_EventPrinter : public GHOST_IEventConsumer
-{
-public:
- /**
- * Prints all the events received to std out.
- * \param event The event that can be handled or not.
- * \return Indication as to whether the event was handled.
- */
- bool processEvent(GHOST_IEvent *event);
+class GHOST_EventPrinter : public GHOST_IEventConsumer {
+ public:
+ /**
+ * Prints all the events received to std out.
+ * \param event The event that can be handled or not.
+ * \return Indication as to whether the event was handled.
+ */
+ bool processEvent(GHOST_IEvent *event);
-protected:
- /**
- * Converts GHOST key code to a readable string.
- * \param key The GHOST key code to convert.
- * \param str The GHOST key code converted to a readable string.
- */
- void getKeyString(GHOST_TKey key, char str[32]) const;
+ protected:
+ /**
+ * Converts GHOST key code to a readable string.
+ * \param key The GHOST key code to convert.
+ * \param str The GHOST key code converted to a readable string.
+ */
+ void getKeyString(GHOST_TKey key, char str[32]) const;
};
-#endif // __GHOST_EVENTPRINTER_H__
+#endif // __GHOST_EVENTPRINTER_H__