
2002-11-13 Not Zed <NotZed@Ximian.com> * GNOME_Evolution_Mail.server.in.in: Added to cvs. Currently contains no configurable stuff, but maybe it will one day. * Makefile.am (server_DATA): change oaf stuff to server stuff for bonobo activation. * mail-preferences.c (mail_preferences_apply): handle const entry text. * mail-composer-prefs.c (url_requested): Fixed typo. (mail_composer_prefs_construct): gnomepixmap->gtkimage. * mail-callbacks.c (configure_mail): destroy dialogue before dealing with response. (mail_generate_reply): Fix a typo. (popup_listener_cb): fix prototype. (tag_editor_response): Handle gtk dialog response. (flag_for_followup): Change gnome dialog to gtk dialog stuff. (tag_editor_destroy_cb): (tag_editor_cancel): (tag_editor_ok): Removed, handled in _response(). (filter_editor_response): renamed from _clicked, handle gtk dialogue signal. (filter_editor_destroy): Removed. (footer_info_new): gnome font api changes. (do_mail_print): port to gnome print 2. * mail-autofilter.c (mail_filter_delete_uri): message_dialog uses a specific button enum, not the stock ones. * mail-accounts.c (mail_accounts_tab_get_type): gobjectify. (account_delete_clicked): gdkdialogise. * mail-account-gui.c (mail_account_gui_setup): Hack around font metric determination code. * mail-account-editor.c (mail_account_editor_get_type): gobjectise. (mail_account_editor_new): "" * folder-info.c (evolution_folder_info_notify_ready): use pbclient interface. * folder-browser-factory.c (control_destroy_cb): fix a typo. (folder_browser_factory_new_control): More typos. * folder-browser.c (on_right_click): cast around const warning. (context_menu_position_func): fix for api change. * e-searching-tokenizer.c (e_searching_tokenizer_finalise): Changed from destroy since it only frees memory. (e_searching_tokenizer_get_type): glibify. * component-factory.c (request_quit): gtkdialogise. (send_receive_cb): " (create_component): gdk_pixbuf api. (component_factory_init): bonobo activation stuff. (warning_response): renamed from warning_clicked. (owner_set_cb): gtkdialogise. svn path=/trunk/; revision=18731
75 lines
2.7 KiB
C
75 lines
2.7 KiB
C
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
|
|
|
|
/*
|
|
* e-searching-tokenizer.h
|
|
*
|
|
* Copyright (C) 2001 Ximian, Inc.
|
|
*
|
|
* Developed by Jon Trowbridge <trow@ximian.com>
|
|
*/
|
|
|
|
/*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of version 2 of the GNU General Public
|
|
* License as published by the Free Software Foundation.
|
|
*
|
|
* 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 __E_SEARCHING_TOKENIZER_H__
|
|
#define __E_SEARCHING_TOKENIZER_H__
|
|
|
|
#include <glib.h>
|
|
#include <gtkhtml/htmltokenizer.h>
|
|
|
|
#define E_TYPE_SEARCHING_TOKENIZER (e_searching_tokenizer_get_type ())
|
|
#define E_SEARCHING_TOKENIZER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), E_TYPE_SEARCHING_TOKENIZER, ESearchingTokenizer))
|
|
#define E_SEARCHING_TOKENIZER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), E_TYPE_SEARCHING_TOKENIZER, ESearchingTokenizerClass))
|
|
#define E_IS_SEARCHING_TOKENIZER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), E_TYPE_SEARCHING_TOKENIZER))
|
|
#define E_IS_SEARCHING_TOKENIZER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), E_TYPE_SEARCHING_TOKENIZER))
|
|
|
|
typedef struct _ESearchingTokenizer ESearchingTokenizer;
|
|
typedef struct _ESearchingTokenizerClass ESearchingTokenizerClass;
|
|
|
|
struct _ESearchingTokenizerPrivate;
|
|
|
|
struct _ESearchingTokenizer {
|
|
HTMLTokenizer parent;
|
|
|
|
struct _ESearchingTokenizerPrivate *priv;
|
|
};
|
|
|
|
struct _ESearchingTokenizerClass {
|
|
HTMLTokenizerClass parent_class;
|
|
|
|
void (*match) (ESearchingTokenizer *);
|
|
};
|
|
|
|
GType e_searching_tokenizer_get_type (void);
|
|
|
|
HTMLTokenizer *e_searching_tokenizer_new (void);
|
|
|
|
/* For now, just a simple API */
|
|
|
|
void e_searching_tokenizer_set_primary_search_string (ESearchingTokenizer *, const char *);
|
|
void e_searching_tokenizer_add_primary_search_string (ESearchingTokenizer *, const char *);
|
|
void e_searching_tokenizer_set_primary_case_sensitivity (ESearchingTokenizer *, gboolean is_case_sensitive);
|
|
|
|
void e_searching_tokenizer_set_secondary_search_string (ESearchingTokenizer *, const char *);
|
|
void e_searching_tokenizer_add_secondary_search_string (ESearchingTokenizer *st, const char *search_str);
|
|
void e_searching_tokenizer_set_secondary_case_sensitivity (ESearchingTokenizer *, gboolean is_case_sensitive);
|
|
|
|
|
|
int e_searching_tokenizer_match_count (ESearchingTokenizer *);
|
|
|
|
|
|
#endif /* __E_SEARCHING_TOKENIZER_H__ */
|