[go: up one dir, main page]

Menu

[f3709a]: / src / defns.h  Maximize  Restore  History

Download this file

72 lines (54 with data), 1.7 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#ifndef DEFNS_H
#define DEFNS_H
/*
roxterm - GTK+ 2.0 terminal emulator with tabs
Copyright (C) 2004 Tony Houghton <h@realh.co.uk>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* Macros, declarations and includes that are used by most other files.
* Always include this first.
*/
#include "rtconfig.h"
#include <gtk/gtk.h>
#if ENABLE_NLS
#include <libintl.h>
#define _(s) ((const char *) gettext(s))
#else
#define _(s) s
#define gettext(s) s
#endif
#define N_(s) s
/*
#include "gettext.h"
#ifndef _
#define _(String) gettext (String)
#endif
#ifndef N_
#define N_(String) gettext_noop (String)
#endif
*/
#define ACCEL_PATH "<roxterm>"
#define STR_EMPTY(s) ((s) ? (s) : "")
/*
#define UNREF_LOG(a) g_debug("Calling ` %s ' from %s", #a, __func__); \
a ; \
g_debug("unref complete");
*/
#define UNREF_LOG(a) a
#define ROXTERM_ARG_ERROR g_quark_from_static_string("roxterm-arg-error-quark")
enum {
ROXTermArgError
};
#define ROXTERM_LEAF_DIR "roxterm.sourceforge.net"
#endif /* DEFNS_H */
/* vi:set sw=4 ts=4 et cindent cino= */