~cairo-dock-team/cairo-dock-plug-ins/plug-ins

« back to all changes in this revision

Viewing changes to Indicator-applet3/indicator-applet3.h

  • Committer: Matthieu Baerts
  • Date: 2014-10-19 00:26:10 UTC
  • Revision ID: matttbe@gmail.com-20141019002610-ulf26s9b4c4rw10r
We just switched from BZR to Git.
Follow us on Github: https://github.com/Cairo-Dock

Note: we will only use Github to manage our source code and all pull requests.
Please continue to report your bugs/ideas/messages on our forum or Launchpad! 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**
2
 
* This file is a part of the Cairo-Dock project
3
 
*
4
 
* Copyright : (C) see the 'copyright' file.
5
 
* E-mail    : see the 'copyright' file.
6
 
*
7
 
* This program is free software; you can redistribute it and/or
8
 
* modify it under the terms of the GNU General Public License
9
 
* as published by the Free Software Foundation; either version 3
10
 
* of the License, or (at your option) any later version.
11
 
*
12
 
* This program is distributed in the hope that it will be useful,
13
 
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 
* GNU General Public License for more details.
16
 
* You should have received a copy of the GNU General Public License
17
 
* along with this program.  If not, see <http://www.gnu.org/licenses/>.
18
 
*/
19
 
 
20
 
#ifndef __CD_INDICATOR_APPLET3__
21
 
#define  __CD_INDICATOR_APPLET3__
22
 
 
23
 
#include <glib.h>
24
 
#include <gtk/gtk.h>
25
 
#include <libindicator/indicator-object.h>
26
 
 
27
 
#define INDICATOR_SERVICE_DIR "/usr/share/unity/indicators"
28
 
 
29
 
typedef void (* CairoDockIndicator3Func ) (IndicatorObject *pIndicator, IndicatorObjectEntry *pEntry, GldiModuleInstance *myApplet);
30
 
typedef void (* CairoDockIndicator3FuncMenu ) (IndicatorObject *pIndicator, IndicatorObjectEntry *pEntry, guint32 timestamp, GldiModuleInstance *myApplet);
31
 
 
32
 
IndicatorObject * cd_indicator3_load (const gchar *cName,
33
 
        CairoDockIndicator3Func entry_added,
34
 
        CairoDockIndicator3Func entry_removed,
35
 
        CairoDockIndicator3Func accessible_desc_update,
36
 
        CairoDockIndicator3FuncMenu menu_show,
37
 
        GldiModuleInstance *myApplet);
38
 
 
39
 
void cd_indicator3_unload (IndicatorObject *pIndicator,
40
 
        CairoDockIndicator3Func entry_added,
41
 
        CairoDockIndicator3Func entry_removed,
42
 
        CairoDockIndicator3Func accessible_desc_update,
43
 
        CairoDockIndicator3FuncMenu menu_show,
44
 
        GldiModuleInstance *myApplet);
45
 
 
46
 
const gchar * cd_indicator3_get_label (IndicatorObjectEntry *pEntry);
47
 
 
48
 
GtkImage * cd_indicator3_get_image (IndicatorObjectEntry *pEntry);
49
 
 
50
 
GtkMenu * cd_indicator3_get_menu (IndicatorObjectEntry *pEntry);
51
 
 
52
 
const gchar * cd_indicator3_get_accessible_desc (IndicatorObjectEntry *pEntry);
53
 
 
54
 
const gchar * cd_indicator3_get_name_hint (IndicatorObjectEntry *pEntry);
55
 
 
56
 
const gchar * cd_indicator3_get_directory_path (void);
57
 
 
58
 
#endif /* __CD_INDICATOR_APPLET3__ */