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>
9 #include "liblj/livejournal.h"
13 typedef struct _HTMLPreview HTMLPreview
;
15 typedef LJEntry
*(*GetEntryFunc
) (HTMLPreview
*hp
);
18 GtkHTML html
; /* parent */
19 GetEntryFunc get_entry
;
20 gpointer get_entry_data
;
23 typedef struct _PreviewUI PreviewUI
;
31 extern GtkWidget
*html_preview_new (GetEntryFunc get_entry
, gpointer get_entry_data
);
32 extern void preview_ui_show (JamWin
*jw
);
33 extern void preview_update (HTMLPreview
*hp
);