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