00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00031 #ifndef HAVE_HN_WM_WATCHABLE_APP_H
00032 #define HAVE_HN_WM_WATCHABLE_APP_H
00033
00034 #include "hn-wm.h"
00035
00043 HNWMWatchableApp*
00044 hn_wm_watchable_app_new (const char * file);
00045
00055 const gchar*
00056 hn_wm_watchable_app_get_service (HNWMWatchableApp *app);
00057
00066 const gchar*
00067 hn_wm_watchable_app_get_exec (HNWMWatchableApp *app);
00068
00077 const gchar*
00078 hn_wm_watchable_app_get_name (HNWMWatchableApp *app);
00079
00088 const gchar*
00089 hn_wm_watchable_app_get_icon_name (HNWMWatchableApp *app);
00090
00099 const gchar*
00100 hn_wm_watchable_app_get_class_name (HNWMWatchableApp *app);
00101
00109 gboolean
00110 hn_wm_watchable_app_has_startup_notify (HNWMWatchableApp *app);
00111
00120 gboolean
00121 hn_wm_watchable_app_is_minimised (HNWMWatchableApp *app);
00122
00129 void
00130 hn_wm_watchable_app_set_minimised (HNWMWatchableApp *app,
00131 gboolean minimised);
00132
00140 gboolean
00141 hn_wm_watchable_app_has_windows (HNWMWatchableApp *app);
00142
00151 gboolean
00152 hn_wm_watchable_app_is_hibernating (HNWMWatchableApp *app);
00153
00163 void
00164 hn_wm_watchable_app_set_hibernate (HNWMWatchableApp *app,
00165 gboolean hibernate);
00166
00174 gboolean
00175 hn_wm_watchable_app_is_able_to_hibernate (HNWMWatchableApp *app);
00176
00184 void
00185 hn_wm_watchable_app_set_able_to_hibernate (HNWMWatchableApp *app,
00186 gboolean hibernate);
00187
00193 void
00194 hn_wm_watchable_app_destroy (HNWMWatchableApp *app);
00195
00201 void
00202 hn_wm_watchable_app_died_dialog_show (HNWMWatchableApp *app);
00203
00211 void
00212 hn_wm_watchable_app_launch_banner_show (GtkWidget *parent,
00213
00214 HNWMWatchableApp *app);
00215
00221 void
00222 hn_wm_watchable_app_launch_banner_close (GtkWidget *parent,
00223 HNWMLaunchBannerInfo *info);
00224
00232 gboolean
00233 hn_wm_watchable_app_launch_banner_timeout (gpointer data);
00234
00235
00236 void
00237 hn_wm_watchable_app_hibernate (HNWMWatchableApp *app);
00238
00239 void
00240 hn_wm_watchable_app_set_ping_timeout_note (HNWMWatchableApp *app, GtkWidget *note);
00241
00242 GtkWidget*
00243 hn_wm_watchable_app_get_ping_timeout_note (HNWMWatchableApp *app);
00244
00245 HNWMWatchedWindow *
00246 hn_wm_watchable_app_get_active_window (HNWMWatchableApp *app);
00247
00248 void
00249 hn_wm_watchable_app_set_active_window (HNWMWatchableApp *app,
00250 HNWMWatchedWindow * win);
00251
00252 #endif