X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-window.h;h=9d26ab9d65cea0b3164153078e3a8bebff7f615e;hb=3242d87af0dbd37088249a6b42ac27237cabdd8d;hp=0b8158f3918b4567aa3972b22083e5db05449bc4;hpb=06e8fe2d26f02fd17a4dc19ea10d7ee00dc33243;p=evince.git diff --git a/shell/ev-window.h b/shell/ev-window.h index 0b8158f3..9d26ab9d 100644 --- a/shell/ev-window.h +++ b/shell/ev-window.h @@ -17,26 +17,23 @@ * * 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. */ #ifndef EV_WINDOW_H #define EV_WINDOW_H -#include -#include -#include +#include +#include #include "ev-link.h" -#include "ev-page-cache.h" G_BEGIN_DECLS typedef enum { EV_WINDOW_MODE_NORMAL, EV_WINDOW_MODE_FULLSCREEN, - EV_WINDOW_MODE_PRESENTATION, - EV_WINDOW_MODE_PREVIEW + EV_WINDOW_MODE_PRESENTATION } EvWindowRunMode; typedef struct { @@ -71,21 +68,29 @@ struct _EvWindowClass { GtkWindowClass base_class; }; -GType ev_window_get_type (void); -GtkWidget *ev_window_new (void); -const char *ev_window_get_uri (EvWindow *ev_window); -void ev_window_open_uri (EvWindow *ev_window, - const char *uri, - EvLinkDest *dest, - EvWindowRunMode mode, - gboolean unlink_temp_file, - const gchar *print_settings); -gboolean ev_window_is_empty (const EvWindow *ev_window); -#ifdef WITH_PRINT -void ev_window_print_range (EvWindow *ev_window, - int first_page, - int last_page); -#endif +GType ev_window_get_type (void) G_GNUC_CONST; +GtkWidget *ev_window_new (void); +const char *ev_window_get_uri (EvWindow *ev_window); +void ev_window_open_uri (EvWindow *ev_window, + const char *uri, + EvLinkDest *dest, + EvWindowRunMode mode, + const gchar *search_string); +void ev_window_open_document (EvWindow *ev_window, + EvDocument *document, + EvLinkDest *dest, + EvWindowRunMode mode, + const gchar *search_string); +gboolean ev_window_is_empty (const EvWindow *ev_window); +void ev_window_run_presentation (EvWindow *ev_window); +void ev_window_stop_presentation (EvWindow *ev_window, + gboolean unfullscreen_window); +void ev_window_print_range (EvWindow *ev_window, + int first_page, + int last_page); +const gchar * ev_window_get_dbus_object_path (EvWindow *ev_window); + + G_END_DECLS #endif /* !EV_WINDOW_H */