Main Page | Directories | File List | File Members

hn-wm-util.h

00001 /* 
00002  * This file is part of maemo-af-desktop
00003  *
00004  * Copyright (C) 2005, 2006 Nokia Corporation.
00005  *
00006  * Contact: Karoliina Salminen <karoliina.t.salminen@nokia.com>
00007  *
00008  * This library is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU Lesser General Public License
00010  * version 2.1 as published by the Free Software Foundation.
00011  *
00012  * This library is distributed in the hope that it will be useful, but
00013  * WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00015  * Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with this library; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
00020  * 02110-1301 USA
00021  *
00022  */
00023 
00028 #ifndef HAVE_HN_WM_UTILS_H
00029 #define HAVE_HN_WM_UTILS_H
00030 
00031 #include "hn-wm.h"
00032 
00033 gulong 
00034 hn_wm_util_getenv_long (gchar *env_str, gulong val_default);
00035 
00036 void*
00037 hn_wm_util_get_win_prop_data_and_validate (Window     xwin, 
00038                        Atom       prop, 
00039                        Atom       type, 
00040                        int        expected_format,
00041                        int        expected_n_items,
00042                        int       *n_items_ret);
00043 
00044 gboolean
00045 hn_wm_util_send_x_message (Window        xwin_src, 
00046                Window        xwin_dest, 
00047                Atom          delivery_atom,
00048                long          mask,
00049                unsigned long data0,
00050                unsigned long data1,
00051                unsigned long data2,
00052                unsigned long data3,
00053                unsigned long data4);
00054 
00055 gint hn_wm_get_vmdata_for_pid(gint pid);
00056 
00057 #endif

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