| 1 |
// Copyright 2006 Alp Toker <[email protected]> |
| 2 |
// This software is made available under the MIT License |
| 3 |
// See COPYING for details |
| 4 |
|
| 5 |
using System; |
| 6 |
using System.Collections.Generic; |
| 7 |
|
| 8 |
using NDesk.DBus; |
| 9 |
using org.freedesktop.DBus; |
| 10 |
|
| 11 |
// Hand-written interfaces for bootstrapping |
| 12 |
|
| 13 |
namespace org.freedesktop |
| 14 |
{ |
| 15 |
public struct ServerInformation |
| 16 |
{ |
| 17 |
public string Name; |
| 18 |
public string Vendor; |
| 19 |
public string Version; |
| 20 |
public string SpecVersion; |
| 21 |
} |
| 22 |
|
| 23 |
[Interface ("org.freedesktop.Notifications")] |
| 24 |
public interface Notifications : Introspectable, Properties |
| 25 |
{ |
| 26 |
ServerInformation GetServerInformation (); |
| 27 |
string[] GetCapabilities (); |
| 28 |
void CloseNotification (uint id); |
| 29 |
uint Notify (string app_name, uint id, string icon, string summary, string body, string[] actions, IDictionary<string,object> hints, int timeout); |
| 30 |
} |
| 31 |
} |