diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2008-08-27 09:01:41 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2008-08-27 09:01:41 (GMT) |
commit | c86fea736694b17beb9fb621fceac7e2970afe08 (patch) | |
tree | a56d037212de681d3ee29d4c09a2f75688e416ca /backend/djvu/djvu-text.h | |
parent | 8d5f4e92b97b9ebee0ec3a805e511c60c606e715 (diff) |
Removed
2008-08-27 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/djvu/Makefile.am:
* backend/djvu/djvu-document-private.h:
* backend/djvu/djvu-document.c: (djvu_document_find_find_text),
(djvu_document_find_iface_init):
* backend/djvu/djvu-text-page.[ch]:
* backend/djvu/djvu-text.[ch]: Removed
* backend/pdf/ev-poppler.cc: (pdf_document_find_find_text),
(pdf_document_find_iface_init):
* libdocument/ev-document-find.[ch]: (ev_document_find_find_text):
* shell/ev-jobs.[ch]: (ev_job_find_init), (ev_job_find_dispose),
(ev_job_find_run), (ev_job_find_class_init), (ev_job_find_new),
(ev_job_find_get_n_results), (ev_job_find_get_progress),
(ev_job_find_has_results), (ev_job_find_get_results):
* shell/ev-view-private.h:
* shell/ev-view.[ch]: (ev_view_expose_event),
(highlight_find_results), (ev_view_finalize),
(ev_view_get_property), (ev_view_class_init), (page_changed_cb),
(ev_view_set_document), (ev_view_find_get_n_results),
(ev_view_find_get_result), (jump_to_find_result),
(jump_to_find_page), (ev_view_find_changed), (ev_view_find_next),
(ev_view_find_previous), (ev_view_find_search_changed),
(ev_view_find_set_highlight_search), (ev_view_find_cancel):
* shell/ev-window.c: (ev_window_update_actions),
(page_changed_cb), (ev_window_setup_document),
(ev_window_update_find_status_message),
(ev_window_find_job_finished_cb), (ev_window_find_job_updated_cb),
(ev_window_clear_find_job), (find_bar_close_cb),
(find_bar_search_changed_cb), (find_bar_visibility_changed_cb),
(ev_window_dispose), (ev_window_init):
Rework find interface. The find logic has been moved from backends
to the shell avoiding a lot of duplicated code in the backends and
making easier to implement the find interface in the backends.
svn path=/trunk/; revision=3123
Diffstat (limited to 'backend/djvu/djvu-text.h')
-rw-r--r-- | backend/djvu/djvu-text.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/backend/djvu/djvu-text.h b/backend/djvu/djvu-text.h deleted file mode 100644 index b7371df..0000000 --- a/backend/djvu/djvu-text.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2006 Michael Hofmann <mh21@piware.de> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. - */ - -#ifndef __DJVU_TEXT_H__ -#define __DJVU_TEXT_H__ - -#include "ev-document.h" - -#include <glib.h> - -typedef struct _DjvuText DjvuText; - -DjvuText *djvu_text_new (DjvuDocument *djvu_document, - int start_page, - gboolean case_sensitive, - const char *text); -void djvu_text_free (DjvuText *djvu_text); -const char *djvu_text_get_text (DjvuText *djvu_text); -int djvu_text_n_results (DjvuText *djvu_text, - int page); -EvRectangle *djvu_text_get_result (DjvuText *djvu_text, - int page, - int n_result); -int djvu_text_has_results (DjvuText *djvu_text, - int page); -double djvu_text_get_progress (DjvuText *djvu_text); -char *djvu_text_copy (DjvuDocument *djvu_document, - int page, - EvRectangle *rectangle); - -#endif /* __DJVU_TEXT_H__ */ |