comparison finch/libgnt/gntmain.c @ 18049:1cedd520cd18

Doxygen skeleton and license info for gnt files.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 06 Jun 2007 15:42:29 +0000
parents c0c17a81f5fe
children 08776fc5c06f
comparison
equal deleted inserted replaced
18048:9aa2c89c8b9e 18049:1cedd520cd18
1 /**
2 * GNT - The GLib Ncurses Toolkit
3 *
4 * GNT is the legal property of its developers, whose names are too numerous
5 * to list here. Please refer to the COPYRIGHT file distributed with this
6 * source distribution.
7 *
8 * This library is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 */
22
1 #define _GNU_SOURCE 23 #define _GNU_SOURCE
2 #if defined(__APPLE__) || defined(__unix__) 24 #if defined(__APPLE__) || defined(__unix__)
3 #define _XOPEN_SOURCE_EXTENDED 25 #define _XOPEN_SOURCE_EXTENDED
4 #endif 26 #endif
5 27
49 71
50 static void setup_io(void); 72 static void setup_io(void);
51 73
52 static gboolean refresh_screen(); 74 static gboolean refresh_screen();
53 75
54 GntWM *wm; 76 static GntWM *wm;
55 static GntClipboard *clipboard; 77 static GntClipboard *clipboard;
56 78
57 #define HOLDING_ESCAPE (escape_stuff.timer != 0) 79 #define HOLDING_ESCAPE (escape_stuff.timer != 0)
58 80
59 static struct { 81 static struct {