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 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  * as published by the Free Software Foundation; either version 2.1 of
00013  * the License, or (at your option) any later version.
00014  *
00015  * This library is distributed in the hope that it will be useful, but
00016  * WITHOUT ANY WARRANTY; without even the implied warranty of
00017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00018  * Lesser General Public License for more details.
00019  *
00020  * You should have received a copy of the GNU Lesser General Public
00021  * License along with this library; if not, write to the Free Software
00022  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
00023  * 02110-1301 USA
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                     /* FIXME: Unused ? */
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

Generated on Fri Jun 9 16:23:08 2006 for maemo-af-desktop-documentation by  doxygen 1.4.6