Remote-Mouse/src/core/MessageHandler.py

15 lines
280 B
Python

# Gtk imports
# Python imports
# Application imports
class MessageHandler:
def __init__(self):
print("MessageHandler initialized...")
def createMessageJSON(self, type, text):
return '{"message": { "type": "' + type + '", "text": "' + text + '" } }'