fixed some clang warnings
[k8lowj.git] / src / preview.h
bloba8396b28248ce2177910184188baa4444d42bfb0
1 /* logjam - a GTK client for LiveJournal.
2 * Copyright (C) 2000-2005 Evan Martin <evan@livejournal.com>
3 */
4 #ifndef __LOGJAM_PREVIEW_H__
5 #define __LOGJAM_PREVIEW_H__
7 #include <gtkhtml/gtkhtml.h>
9 #include "liblj/livejournal.h"
11 #include "jam.h"
13 typedef struct _HTMLPreview HTMLPreview;
15 typedef LJEntry *(*GetEntryFunc) (HTMLPreview *hp);
17 struct _HTMLPreview {
18 GtkHTML html; /* parent */
19 GetEntryFunc get_entry;
20 gpointer get_entry_data;
23 typedef struct _PreviewUI PreviewUI;
24 struct _PreviewUI {
25 GtkWidget *win;
26 HTMLPreview *html;
27 JamWin *jw;
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);
36 #endif