| 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 __INTERFACE_APPLET_SIGNALS__ |
| 21 |
#define __INTERFACE_APPLET_SIGNALS__ |
| 22 |
|
| 23 |
#include <cairo-dock.h> |
| 24 |
#include "applet-struct.h" |
| 25 |
|
| 26 |
|
| 27 |
void cd_dbus_applet_init_signals_once (dbusAppletClass *klass); |
| 28 |
void cd_dbus_sub_applet_init_signals_once (dbusSubAppletClass *klass); |
| 29 |
|
| 30 |
|
| 31 |
gboolean cd_dbus_applet_emit_on_click_icon (gpointer data, Icon *pClickedIcon, GldiContainer *pClickedContainer, guint iButtonState); |
| 32 |
|
| 33 |
gboolean cd_dbus_applet_emit_on_middle_click_icon (gpointer data, Icon *pClickedIcon, GldiContainer *pClickedContainer); |
| 34 |
|
| 35 |
gboolean cd_dbus_applet_emit_on_scroll_icon (gpointer data, Icon *pClickedIcon, GldiContainer *pClickedContainer, int iDirection); |
| 36 |
|
| 37 |
gboolean cd_dbus_applet_emit_on_build_menu (gpointer data, Icon *pClickedIcon, GldiContainer *pClickedContainer, GtkWidget *pAppletMenu); |
| 38 |
|
| 39 |
void cd_dbus_emit_on_menu_select (GtkMenuItem *pMenuItem, gpointer data); |
| 40 |
|
| 41 |
gboolean cd_dbus_applet_emit_on_drop_data (gpointer data, const gchar *cReceivedData, Icon *pClickedIcon, double fPosition, GldiContainer *pClickedContainer); |
| 42 |
|
| 43 |
gboolean cd_dbus_applet_emit_on_change_focus (gpointer data, GldiWindowActor *pNewActiveWindow); |
| 44 |
|
| 45 |
|
| 46 |
void cd_dbus_applet_emit_on_answer_question (int iClickedButton, GtkWidget *pInteractiveWidget, dbusApplet *pDbusApplet, CairoDialog *pDialog); |
| 47 |
|
| 48 |
void cd_dbus_applet_emit_on_answer_value (int iClickedButton, GtkWidget *pInteractiveWidget, dbusApplet *pDbusApplet, CairoDialog *pDialog); |
| 49 |
|
| 50 |
void cd_dbus_applet_emit_on_answer_text (int iClickedButton, GtkWidget *pInteractiveWidget, dbusApplet *pDbusApplet, CairoDialog *pDialog); |
| 51 |
|
| 52 |
void cd_dbus_applet_emit_on_answer_buttons (int iClickedButton, GtkWidget *pInteractiveWidget, dbusApplet *pDbusApplet, CairoDialog *pDialog); |
| 53 |
|
| 54 |
void cd_dbus_applet_emit_on_answer_text_entry (int iClickedButton, GtkWidget *pInteractiveWidget, dbusApplet *pDbusApplet, CairoDialog *pDialog); |
| 55 |
|
| 56 |
void cd_dbus_applet_emit_on_answer_text_view (int iClickedButton, GtkWidget *pInteractiveWidget, dbusApplet *pDbusApplet, CairoDialog *pDialog); |
| 57 |
|
| 58 |
void cd_dbus_applet_emit_on_answer_scale (int iClickedButton, GtkWidget *pInteractiveWidget, dbusApplet *pDbusApplet, CairoDialog *pDialog); |
| 59 |
|
| 60 |
void cd_dbus_applet_emit_on_answer_combo_entry (int iClickedButton, GtkWidget *pInteractiveWidget, dbusApplet *pDbusApplet, CairoDialog *pDialog); |
| 61 |
|
| 62 |
void cd_dbus_applet_emit_on_answer_combo (int iClickedButton, GtkWidget *pInteractiveWidget, dbusApplet *pDbusApplet, CairoDialog *pDialog); |
| 63 |
|
| 64 |
void cd_dbus_applet_emit_on_shortkey (const gchar *cShortkey, dbusApplet *pDbusApplet); |
| 65 |
|
| 66 |
|
| 67 |
void cd_dbus_action_on_init_module (GldiModuleInstance *pModuleInstance); |
| 68 |
gboolean cd_dbus_emit_init_module_delayed (dbusApplet *pDbusApplet); |
| 69 |
void cd_dbus_emit_init_signal (GldiModuleInstance *pModuleInstance); |
| 70 |
void cd_dbus_emit_on_init_module (GldiModuleInstance *pModuleInstance, GKeyFile *pKeyFile); |
| 71 |
|
| 72 |
void cd_dbus_action_on_stop_module (GldiModuleInstance *pModuleInstance); |
| 73 |
void cd_dbus_emit_on_stop_module (GldiModuleInstance *pModuleInstance); |
| 74 |
|
| 75 |
gboolean cd_dbus_emit_on_reload_module (GldiModuleInstance *pModuleInstance, GldiContainer *pOldContainer, GKeyFile *pKeyFile); |
| 76 |
|
| 77 |
|
| 78 |
#endif |