X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-navigation-action.h;h=8089e4f4383851a93f414ef416b56effbd84278d;hb=aff4186edfaa1036268c97c60432e2d6644e91e5;hp=8bb7943e29073012afc320a3a303ad8da1013674;hpb=d1e23d13d52f06f2aba2ece7ff17091110d8a3bb;p=evince.git diff --git a/shell/ev-navigation-action.h b/shell/ev-navigation-action.h index 8bb7943e..8089e4f4 100644 --- a/shell/ev-navigation-action.h +++ b/shell/ev-navigation-action.h @@ -14,15 +14,17 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * - * $Id$ */ #ifndef EV_NAVIGATION_ACTION_H #define EV_NAVIGATION_ACTION_H -#include +#include + +#include "ev-history.h" +#include "ev-link.h" G_BEGIN_DECLS @@ -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; @@ -54,9 +50,14 @@ struct _EvNavigationAction struct _EvNavigationActionClass { GtkActionClass parent_class; + + void (* activate_link) (EvNavigationAction *action, + EvLink *link); }; -GType ev_navigation_action_get_type (void); +GType ev_navigation_action_get_type (void); +void ev_navigation_action_set_history (EvNavigationAction *action, + EvHistory *history); G_END_DECLS