~cszikszoy/do-plugins/fix-confluence

« back to all changes in this revision

Viewing changes to Twitter/Notifications.cs

  • Committer: Alex Launi
  • Date: 2008-04-03 16:42:36 UTC
  • mfrom: (85 do-plugins)
  • mto: This revision was merged to the branch mainline in revision 87.
  • Revision ID: alex.launi@gmail.com-20080403164236-6ut2l710phmv92o5
clean up

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright 2006 Alp Toker <alp@atoker.com>
 
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
}