18
18
* Authors: Manuel de la Peña <manuel.delapena@canonical.com>
22
24
namespace Canonical.UbuntuOne.ProcessDispatcher
25
27
/// Message processor that works with json messages from python.
30
41
/// Will process the message sent by the python code and will perform all the possibly required operations.
32
43
/// <param name="message"></param>
33
44
public void ProcessMessage(object message)
48
if(string.Compare((string)messageObject["type"], "notify", StringComparison.CurrentCultureIgnoreCase) == 0)
50
NotificationIconView.ShowNotification(10, (string)messageObject["title"], (string)messageObject["message"]);