]> granicus.if.org Git - graphviz/commitdiff
stub some callback support for file load/store/export
authorellson <devnull@localhost>
Tue, 18 Oct 2005 18:53:58 +0000 (18:53 +0000)
committerellson <devnull@localhost>
Tue, 18 Oct 2005 18:53:58 +0000 (18:53 +0000)
lib/gvc/gvcjob.h
lib/gvc/gvevent.c

index 4a6f585926aa2a58d92b3b1ffa525facd9cd846a..2656b905f4439597d6e616bc9667ae546ec5e843 100644 (file)
@@ -116,6 +116,10 @@ extern "C" {
         void (*button_release) (GVJ_t * job, int button, pointf pointer);
         void (*motion) (GVJ_t * job, pointf pointer);
         void (*modify) (GVJ_t * job, char *name, char *value);
+        void (*delete) (GVJ_t * job);
+        void (*read) (GVJ_t * job, char *filename);
+        void (*layout) (GVJ_t * job, char *type);
+        void (*render) (GVJ_t * job, char *format, char *filename);
     } gvdevice_callbacks_t;
 
     typedef int (*gvevent_key_callback_t) (GVJ_t * job);
index 6a682913aaf098db1d8feb23998c412ae942eb54..b8b4ef8c728ec9fedccc9832116ec0776451da5a 100644 (file)
@@ -501,6 +501,27 @@ static int toggle_fit_cb(GVJ_t * job)
     return 0;
 }
 
+static void gvevent_delete (GVJ_t * job)
+{
+    /* FIXME */
+}
+
+static void gvevent_read (GVJ_t * job, char *filename)
+{
+    /* FIXME */
+}
+
+static void gvevent_layout (GVJ_t * job, char *type)
+{
+    /* FIXME */
+}
+
+static void gvevent_render (GVJ_t * job, char *format, char *filename)
+{
+    /* FIXME */
+}
+
+
 gvevent_key_binding_t gvevent_key_binding[] = {
     {"Q", quit_cb},
     {"Left", left_cb},
@@ -525,5 +546,9 @@ gvdevice_callbacks_t gvdevice_callbacks = {
     gvevent_button_press,
     gvevent_button_release,
     gvevent_motion,
+    gvevent_delete,
+    gvevent_read,
+    gvevent_layout,
+    gvevent_render,
     NULL,
 };