This repository has been archived on 2020-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
gnoemoe/gnoemoe/widgets/gm-external-view.h

21 lines
473 B
C

#include <glib.h>
#include <libgnomevfs/gnome-vfs.h>
#include "gm-editor.h"
#include "gm-world.h"
#define GM_EXTERNAL_VIEW(obj) (GmExternalView *)(obj)
typedef struct _GmExternalView {
GmWorld *world;
GmEditor *editor;
gchar *filename;
GnomeVFSMonitorHandle *monitor;
time_t last_modified;
GPid pid;
guint child_watch;
} GmExternalView;
GmExternalView *gm_external_view_new(GmWorld *world, GmEditor *editor);
void gm_external_view_destroy(GmExternalView *view);