Update FSF address
[lttv.git] / lttv / lttv / lttv.h
CommitLineData
9c312311 1/* This file is part of the Linux Trace Toolkit viewer
2 * Copyright (C) 2003-2004 Michel Dagenais
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License Version 2 as
6 * published by the Free Software Foundation;
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
b9ce0bad
YB
15 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
16 * MA 02110-1301, USA.
9c312311 17 */
18
c5d77517 19#ifndef LTTV_H
20#define LTTV_H
21
996acd92 22#include <lttv/attribute.h>
c71d80de 23
c5d77517 24/* The modules in the visualizer communicate with the main module and
dc877563 25 with each other through attributes. There is a global set of attributes */
c5d77517 26
996acd92 27LttvAttribute *lttv_global_attributes();
c5d77517 28
08b1c66e 29extern gboolean lttv_profile_memory;
30
31extern int lttv_argc;
32
33extern char **lttv_argv;
c5d77517 34
35/* A number of global attributes are initialized before modules are
36 loaded, for example hooks lists. More global attributes are defined
37 in individual mudules to store information or to communicate with other
38 modules (GUI windows, menus...).
39
40 The hooks lists (lttv_hooks) are initialized in the main module and may be
41 used by other modules. Each corresponds to a specific location in the main
42 module processing loop. The attribute key and typical usage for each
43 is indicated.
44
45 /hooks/options/before
46 Good place to define new command line options to be parsed.
47
48 /hooks/options/after
49 Read the values set by the command line options.
50
dc877563 51 /hooks/main/before
c5d77517 52
dc877563 53 /hooks/main/after
c5d77517 54
55*/
56
b445142a 57#define g_info(format...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_INFO, format)
eed2ef37 58
59#ifndef g_debug
b445142a 60#define g_debug(format...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, format)
eed2ef37 61#endif
b445142a 62
c5d77517 63#endif // LTTV_H
This page took 0.071633 seconds and 4 git commands to generate.