2
* This file is a part of the Cairo-Dock project
4
* Copyright : (C) see the 'copyright' file.
5
* E-mail : see the 'copyright' file.
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.
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/>.
20
#ifndef __CAIRO_DOCK_APPLICATION_FACILITY__
21
#define __CAIRO_DOCK_APPLICATION_FACILITY__
26
#include "cairo-dock-struct.h"
30
void cairo_dock_appli_demands_attention (Icon *icon);
31
void cairo_dock_appli_stops_demanding_attention (Icon *icon);
33
void cairo_dock_animate_icon_on_active (Icon *icon, CairoDock *pParentDock);
36
gboolean cairo_dock_appli_covers_dock (Icon *pIcon, CairoDock *pDock);
37
gboolean cairo_dock_appli_overlaps_dock (Icon *pIcon, CairoDock *pDock);
40
CairoDock *cairo_dock_insert_appli_in_dock (Icon *icon, CairoDock *pMainDock, gboolean bUpdateSize, gboolean bAnimate);
41
CairoDock *cairo_dock_detach_appli (Icon *pIcon);
44
void cairo_dock_set_one_icon_geometry_for_window_manager (Icon *icon, CairoDock *pDock);
45
void cairo_dock_reserve_one_icon_geometry_for_window_manager (Window *Xid, Icon *icon, CairoDock *pMainDock);
48
gboolean cairo_dock_appli_is_on_desktop (Icon *pIcon, int iNumDesktop, int iNumViewportX, int iNumViewportY);
49
gboolean cairo_dock_appli_is_on_current_desktop (Icon *pIcon);
51
void cairo_dock_move_window_to_desktop (Icon *pIcon, int iNumDesktop, int iNumViewportX, int iNumViewportY);
52
void cairo_dock_move_window_to_current_desktop (Icon *pIcon);