2006-05-20 09:18:23 -04:00
|
|
|
/* Viewer module */
|
|
|
|
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
#include "config.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "elinks.h"
|
|
|
|
|
|
|
|
#include "intl/gettext/libintl.h"
|
|
|
|
#include "main/module.h"
|
|
|
|
#include "viewer/text/marks.h"
|
|
|
|
#include "viewer/text/search.h"
|
|
|
|
#include "viewer/timer.h"
|
|
|
|
|
|
|
|
static struct module *viewer_submodules[] = {
|
|
|
|
&search_history_module,
|
|
|
|
&timer_module,
|
|
|
|
#ifdef CONFIG_MARKS
|
|
|
|
&viewer_marks_module,
|
|
|
|
#endif
|
2006-05-20 11:58:13 -04:00
|
|
|
NULL
|
2006-05-20 09:18:23 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
struct module viewer_module = struct_module(
|
|
|
|
/* name: */ N_("Viewer"),
|
|
|
|
/* options: */ NULL,
|
|
|
|
/* hooks: */ NULL,
|
|
|
|
/* submodules: */ viewer_submodules,
|
|
|
|
/* data: */ NULL,
|
|
|
|
/* init: */ NULL,
|
|
|
|
/* done: */ NULL
|
|
|
|
);
|