Main Page | Directories | File List | File Members

hn-wm-watchable-app.h

Go to the documentation of this file.
00001 /* -*- mode:C; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
00002 
00003 /* 
00004  * This file is part of maemo-af-desktop
00005  *
00006  * Copyright (C) 2005, 2006 Nokia Corporation.
00007  *
00008  * Contact: Karoliina Salminen <karoliina.t.salminen@nokia.com>
00009  *
00010  * This library is free software; you can redistribute it and/or
00011  * modify it under the terms of the GNU Lesser General Public License
00012  * version 2.1 as published by the Free Software Foundation.
00013  *
00014  * This library is distributed in the hope that it will be useful, but
00015  * WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00017  * Lesser General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU Lesser General Public
00020  * License along with this library; if not, write to the Free Software
00021  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
00022  * 02110-1301 USA
00023  *
00024  */
00025 
00030 #ifndef HAVE_HN_WM_WATCHABLE_APP_H
00031 #define HAVE_HN_WM_WATCHABLE_APP_H
00032 
00033 #include "hn-wm.h"
00034 
00042 HNWMWatchableApp*
00043 hn_wm_watchable_app_new (const char * file);
00044 
00051 HNWMWatchableApp*
00052 hn_wm_watchable_app_new_dummy (void);
00053 
00063 gboolean
00064 hn_wm_watchable_app_update (HNWMWatchableApp *app, HNWMWatchableApp *update);
00065 
00075 const gchar*
00076 hn_wm_watchable_app_get_service (HNWMWatchableApp *app);
00077 const gchar*
00078 hn_wm_watchable_app_get_exec (HNWMWatchableApp *app);
00079 
00088 const gchar*
00089 hn_wm_watchable_app_get_name (HNWMWatchableApp *app);
00090 
00099 const gchar*
00100 hn_wm_watchable_app_get_icon_name (HNWMWatchableApp *app);
00101 
00110 const gchar*
00111 hn_wm_watchable_app_get_class_name (HNWMWatchableApp *app);
00112 
00120 gboolean
00121 hn_wm_watchable_app_has_startup_notify (HNWMWatchableApp *app);
00122 
00131 gboolean
00132 hn_wm_watchable_app_is_minimised (HNWMWatchableApp *app);
00133 
00140 void
00141 hn_wm_watchable_app_set_minimised (HNWMWatchableApp *app,
00142                    gboolean          minimised);
00143 
00151 gboolean
00152 hn_wm_watchable_app_has_windows (HNWMWatchableApp *app);
00153 
00161 gboolean
00162 hn_wm_watchable_app_has_hibernating_windows (HNWMWatchableApp *app);
00163 
00171 gboolean
00172 hn_wm_watchable_app_has_any_windows (HNWMWatchableApp *app);
00173 
00182 gboolean
00183 hn_wm_watchable_app_is_hibernating (HNWMWatchableApp *app);
00184 
00194 void
00195 hn_wm_watchable_app_set_hibernate (HNWMWatchableApp *app,
00196                    gboolean          hibernate);
00197 
00205 gboolean
00206 hn_wm_watchable_app_is_able_to_hibernate (HNWMWatchableApp *app);
00207 
00215 void
00216 hn_wm_watchable_app_set_able_to_hibernate (HNWMWatchableApp *app,
00217                        gboolean          hibernate);
00218 
00224 void
00225 hn_wm_watchable_app_destroy (HNWMWatchableApp *app);
00226 
00232 void
00233 hn_wm_watchable_app_died_dialog_show (HNWMWatchableApp *app);
00234 
00242 void 
00243 hn_wm_watchable_app_launch_banner_show (HNWMWatchableApp *app);
00244 
00250 void 
00251 hn_wm_watchable_app_launch_banner_close (GtkWidget            *parent,
00252                      HNWMLaunchBannerInfo *info);
00253 
00261 gboolean 
00262 hn_wm_watchable_app_launch_banner_timeout (gpointer data);
00263 
00264 void
00265 hn_wm_watchable_app_set_ping_timeout_note (HNWMWatchableApp *app, GtkWidget *note);
00266 
00267 GtkWidget*
00268 hn_wm_watchable_app_get_ping_timeout_note (HNWMWatchableApp *app);
00269 
00270 HNWMWatchedWindow *
00271 hn_wm_watchable_app_get_active_window (HNWMWatchableApp *app);
00272 
00273 void
00274 hn_wm_watchable_app_set_active_window (HNWMWatchableApp *app,
00275                                        HNWMWatchedWindow * win);
00276 
00277 gboolean
00278 hn_wm_watchable_app_is_dummy(HNWMWatchableApp *app);
00279 
00280 gboolean
00281 hn_wm_watchable_app_is_launching (HNWMWatchableApp *app);
00282 
00283 void
00284 hn_wm_watchable_app_set_launching (HNWMWatchableApp *app,
00285                                    gboolean launching);
00286 
00287 HNEntryInfo *
00288 hn_wm_watchable_app_get_info (HNWMWatchableApp *app);
00289 
00290 #if 0
00291 gint
00292 hn_wm_watchable_app_n_windows (HNWMWatchableApp *app);
00293 #endif
00294 
00295 gboolean
00296 hn_wm_watchable_app_is_active (HNWMWatchableApp *app);
00297 
00298 const gchar *
00299 hn_wm_watchable_app_get_extra_icon (HNWMWatchableApp *app);
00300 
00301 void
00302 hn_wm_watchable_app_set_extra_icon (HNWMWatchableApp *app, const gchar *icon);
00303 
00304 #endif

Generated on Thu Dec 21 11:26:51 2006 for maemo-af-desktop-documentation by  doxygen 1.4.2