Sophie

Sophie

distrib > Mandriva > 2011.0 > i586 > by-pkgid > b001ea87952ca2ff4762f79953e1fbe3 > files > 6

dbus-sharp-devel-0.7.0-1mdv2011.0.noarch.rpm

// Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details

using System;
using System.Collections.Generic;

using DBus;
using org.freedesktop.DBus;

// Hand-written interfaces for bootstrapping

namespace org.freedesktop
{
	public struct ServerInformation
	{
		public string Name;
		public string Vendor;
		public string Version;
		public string SpecVersion;
	}

	[Interface ("org.freedesktop.Notifications")]
	public interface Notifications : Introspectable, Properties
	{
		ServerInformation GetServerInformation ();
		string[] GetCapabilities ();
		void CloseNotification (uint id);
		uint Notify (string app_name, uint id, string icon, string summary, string body, string[] actions, IDictionary<string,object> hints, int timeout);
	}
}