c5d77517 |
1 | #ifndef LTTV_H |
2 | #define LTTV_H |
3 | |
996acd92 |
4 | #include <lttv/attribute.h> |
c71d80de |
5 | |
c5d77517 |
6 | /* The modules in the visualizer communicate with the main module and |
dc877563 |
7 | with each other through attributes. There is a global set of attributes */ |
c5d77517 |
8 | |
996acd92 |
9 | LttvAttribute *lttv_global_attributes(); |
c5d77517 |
10 | |
11 | |
12 | /* A number of global attributes are initialized before modules are |
13 | loaded, for example hooks lists. More global attributes are defined |
14 | in individual mudules to store information or to communicate with other |
15 | modules (GUI windows, menus...). |
16 | |
17 | The hooks lists (lttv_hooks) are initialized in the main module and may be |
18 | used by other modules. Each corresponds to a specific location in the main |
19 | module processing loop. The attribute key and typical usage for each |
20 | is indicated. |
21 | |
22 | /hooks/options/before |
23 | Good place to define new command line options to be parsed. |
24 | |
25 | /hooks/options/after |
26 | Read the values set by the command line options. |
27 | |
dc877563 |
28 | /hooks/main/before |
c5d77517 |
29 | |
dc877563 |
30 | /hooks/main/after |
c5d77517 |
31 | |
32 | */ |
33 | |
34 | #endif // LTTV_H |