1 /* logjam - a GTK client for LiveJournal.
2 * Copyright (C) 2000-2005 Evan Martin <evan@livejournal.com>
4 #ifndef __LOGJAM_PREVIEW_H__
5 #define __LOGJAM_PREVIEW_H__
7 #include <gtkhtml/gtkhtml.h>
8 #include "liblj/livejournal.h"
11 typedef struct _HTMLPreview HTMLPreview
;
12 typedef LJEntry
*(*GetEntryFunc
) (HTMLPreview
* hp
);
15 GtkHTML html
; /* parent */
16 GetEntryFunc get_entry
;
17 gpointer get_entry_data
;
20 typedef struct _PreviewUI PreviewUI
;
27 GtkWidget
*html_preview_new(GetEntryFunc get_entry
, gpointer get_entry_data
);
28 void preview_ui_show(JamWin
* jw
);
29 void preview_update(HTMLPreview
* hp
);
31 #endif /* __html_preview_h__ */