00001 /** 00002 * This file is part of alarmd 00003 * 00004 * Contact Person: David Weinehall <david.weinehall@nokia.com> 00005 * 00006 * Copyright (C) 2006 Nokia Corporation 00007 * alarmd and libalarm are free software; you can redistribute them 00008 * and/or modify them under the terms of the GNU Lesser General Public 00009 * License version 2.1 as published by the Free Software Foundation. 00010 * 00011 * alarmd and libalarm are distributed in the hope that they will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Lesser General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public 00017 * License along with this software; if not, write to the Free 00018 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 00019 * 02110-1301 USA 00020 */ 00021 00022 /* 00023 * @file alarmd.h 00024 * Alarm/event daemon 00025 * <p> 00026 * Copyright (C) 2006 Nokia. All rights reserved. 00027 * <p> 00028 * @author David Weinehall <david.weinehall@nokia.com> 00029 */ 00030 #ifndef _ALARMD_H_ 00031 #define _ALARMD_H_ 00032 00033 #include <glib.h> 00034 #include <locale.h> 00035 00036 #ifdef ENABLE_NLS 00037 #include <libintl.h> 00038 #define _(__str) gettext(__str) 00039 #else 00040 #undef bindtextdomain 00041 #define bindtextdomain(__domain, __directory) 00042 #undef textdomain 00043 #define textdomain(__domain) 00044 #define _(__str) __str 00045 #endif /* ENABLE_NLS */ 00046 00047 #define __stringify_1(x) #x 00048 #define __stringify(x) __stringify_1(x) 00049 00050 GMainLoop *mainloop; 00051 00052 #endif /* _ALARMD_H_ */