]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-application.h
Fix compilation
[evince.git] / shell / ev-application.h
index a22e7dca787837f18d0b010f82fe75ffc3c547a8..ddf5ede10f4c4b7751d8f74daf666160e3106ce0 100644 (file)
@@ -27,8 +27,6 @@
 #include <glib-object.h>
 
 #include "ev-window.h"
-#include "ev-document.h"
-#include "ev-link.h"
 
 G_BEGIN_DECLS
 
@@ -46,23 +44,23 @@ typedef struct _EvApplicationPrivate EvApplicationPrivate;
 #define EV_APP                                 (ev_application_get_instance ())
 
 struct _EvApplication {
-       GObject                  base_instance;
-       EvApplicationPrivate    *priv;
+       GObject base_instance;
 };
 
 struct _EvApplicationClass {
-       GObjectClass             base_class;
+       GObjectClass base_class;
 };
 
-GType           ev_application_get_type                (void);
-EvApplication  *ev_application_get_instance            (void);
-void            ev_application_open                    (EvApplication *application,
-                                                        GError        *err);
-EvWindow       *ev_application_new_window              (EvApplication *application);
-void            ev_application_open_link               (EvApplication *application,
-                                                        EvWindow      *window,
-                                                        EvLink        *link,
-                                                        GError        *err);
+GType         ev_application_get_type         (void);
+gboolean       ev_application_register_service (EvApplication   *application);
+EvApplication *ev_application_get_instance     (void);
+void          ev_application_open_window      (EvApplication   *application);
+void          ev_application_open_uri         (EvApplication   *application,
+                                               const char      *uri,
+                                               const char      *page_label);
+void          ev_application_open_uri_list    (EvApplication   *application,
+                                               GSList          *uri_list);
+void          ev_application_shutdown         (EvApplication   *application);
 
 G_END_DECLS