~cairo-dock-team/ubuntu/oneiric/cairo-dock-plug-ins/2.3.0-3-1

« back to all changes in this revision

Viewing changes to Dbus/interfaces/mono/ISubApplet.cs

  • Committer: Bazaar Package Importer
  • Author(s): Matthieu Baerts (matttbe)
  • Date: 2011-04-20 20:46:51 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20110420204651-ftnpzesj6uc7qeul
Tags: 2.3.0~1-0ubuntu1
* New Upstream Version (LP: #723995)
* Upstream short ChangeLog (since 2.3.0~0rc1):
 - Updated translations
 - Updated the integration of the new versions of kwin and compiz
    (Switcher, ShowDesktop, etc.)
 - Removed a lot of useless g_print
 - Updated a few plug-ins to fit with the new version of the API (gldit)
 - Fixed a few bugs
 - Updated MeMenu, MessagingMenu and Status-Notifier to works
    with the latest version of dbusmenu, etc.
* Switch to dpkg-source 3.0 (quilt) format
* debian/cairo-dock-plug-ins.install:
 - Added new files (interfaces for python, ruby, vala and mono)
* debian/control:
 - Added new dependences for new applets (sensors and zeitgeist)
    and new interfaces (python, valac, ruby and mono)
 - Updated the version of cairo-dock build-dependences
* debian/rules:
 - Added a new CMake flag to install python interface in debian/tmp
* Updated debian/watch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
using System;
 
2
using System.Collections.Generic;  // Dictionnary
 
3
using NDesk.DBus;
 
4
 
 
5
namespace CairoDock.Applet
 
6
{
 
7
    [Interface("org.cairodock.CairoDock.subapplet")]
 
8
    public interface ISubApplet
 
9
    {
 
10
        void SetQuickInfo(string cQuickInfo, string cIconID);
 
11
        void SetLabel(string cLabel, string cIconID);
 
12
        void SetIcon(string cImage, string cIconID);
 
13
        void SetEmblem(string cImage, int iPosition, string cIconID);
 
14
        void Animate(string cAnimation, int iNbRounds, string cIconID);
 
15
        void ShowDialog(string message, int iDuration, string cIconID);
 
16
        void AskQuestion(string cMessage, string cIconID);
 
17
        void AskValue(string cMessage, double fInitialValue, double fMaxlValue, string cIconID);
 
18
        void AskText(string cMessage, string cInitialText, string cIconID);
 
19
        void AddSubIcons(string[] pIconFields);
 
20
        void RemoveSubIcon(string cIconID);
 
21
        event OnClickSubIconEvent on_click_sub_icon;
 
22
        event OnMiddleClickSubIconEvent on_middle_click_sub_icon;
 
23
        event OnScrollSubIconEvent on_scroll_sub_icon;
 
24
        event OnBuildMenuSubIconEvent on_build_menu_sub_icon;
 
25
        event OnMenuSelectSubIconEvent on_menu_select_sub_icon;
 
26
        event OnDropDataSubIconEvent on_drop_data_sub_icon;
 
27
        event OnAnswerSubIconEvent on_answer_sub_icon;
 
28
    }
 
29
 
 
30
    public delegate void OnClickSubIconEvent(int iButtonState, string cIconID);
 
31
 
 
32
    public delegate void OnMiddleClickSubIconEvent(string cIconID);
 
33
 
 
34
    public delegate void OnScrollSubIconEvent(bool bDirectionUp, string cIconID);
 
35
 
 
36
    public delegate void OnBuildMenuSubIconEvent(string cIconID);
 
37
 
 
38
    public delegate void OnMenuSelectSubIconEvent(int iNumEntry, string cIconID);
 
39
 
 
40
    public delegate void OnDropDataSubIconEvent(string cReceivedData, string cIconID);
 
41
 
 
42
    public delegate void OnAnswerSubIconEvent(object answer, string cIconID);
 
43
}