]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-navigation-action.h
Render "loading..." text into a cairo surface instead of directly into the
[evince.git] / shell / ev-navigation-action.h
index 8bb7943e29073012afc320a3a303ad8da1013674..c801c3922c3ad176c3779267423c386b3a99d4c9 100644 (file)
@@ -16,7 +16,6 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  *
- *  $Id$
  */
 
 #ifndef EV_NAVIGATION_ACTION_H
@@ -24,6 +23,9 @@
 
 #include <gtk/gtkaction.h>
 
+#include "ev-history.h"
+#include "ev-window.h"
+
 G_BEGIN_DECLS
 
 #define EV_TYPE_NAVIGATION_ACTION            (ev_navigation_action_get_type ())
@@ -37,12 +39,6 @@ typedef struct _EvNavigationAction           EvNavigationAction;
 typedef struct _EvNavigationActionPrivate      EvNavigationActionPrivate;
 typedef struct _EvNavigationActionClass                EvNavigationActionClass;
 
-typedef enum
-{
-       EV_NAVIGATION_DIRECTION_BACK,
-       EV_NAVIGATION_DIRECTION_FORWARD
-} EvNavigationDirection;
-
 struct _EvNavigationAction
 {
        GtkAction parent;
@@ -56,7 +52,11 @@ struct _EvNavigationActionClass
        GtkActionClass parent_class;
 };
 
-GType ev_navigation_action_get_type (void);
+GType  ev_navigation_action_get_type           (void);
+void   ev_navigation_action_set_history        (EvNavigationAction *action,
+                                                EvHistory          *history);
+void   ev_navigation_action_set_window         (EvNavigationAction *action,
+                                                EvWindow           *window);
 
 G_END_DECLS