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.
2005-11-19 14:02:36 +01:00
|
|
|
#include <glib.h>
|
|
|
|
#include <libgnomevfs/gnome-vfs.h>
|
2006-01-10 01:39:05 +01:00
|
|
|
#include "gm-editor.h"
|
|
|
|
#include "gm-world.h"
|
2005-11-19 14:02:36 +01:00
|
|
|
|
|
|
|
#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);
|