/* -*- 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 */ /* * 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 of the * License, 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 __E_SEARCHING_TOKENIZER_H__ #define __E_SEARCHING_TOKENIZER_H__ #include #include #define E_TYPE_SEARCHING_TOKENIZER (e_searching_tokenizer_get_type ()) #define E_SEARCHING_TOKENIZER(o) (GTK_CHECK_CAST ((o), E_TYPE_SEARCHING_TOKENIZER, ESearchingTokenizer)) #define E_SEARCHING_TOKENIZER_CLASS(k) (GTK_CHECK_CLASS_CAST ((k), E_TYPE_SEARCHING_TOKENIZER, ESearchingTokenizerClass)) #define E_IS_SEARCHING_TOKENIZER(o) (GTK_CHECK_TYPE ((o), E_TYPE_SEARCHING_TOKENIZER)) #define E_IS_SEARCHING_TOKENIZER_CLASS(k) (GTK_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 *); }; GtkType 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 gchar *); void e_searching_tokenizer_set_primary_case_sensitivity (ESearchingTokenizer *, gboolean is_case_sensitive); void e_searching_tokenizer_set_secondary_search_string (ESearchingTokenizer *, const gchar *); void e_searching_tokenizer_set_secondary_case_sensitivity (ESearchingTokenizer *, gboolean is_case_sensitive); gint e_searching_tokenizer_match_count (ESearchingTokenizer *); #endif /* __E_SEARCHING_TOKENIZER_H__ */ 1.2.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* utilize PYTHON_SITELIBDIR & PORTDOCS macrosijliao2004-06-102-269/+48
* Trim whitespace.trevor2004-04-111-25/+25
* SIZEify.trevor2004-03-181-0/+1
* De-pkg-comment.knu2003-02-212-1/+1
* Use %%PORTDOCS%% instead of separate package lists.tom2003-01-203-226/+223
* o Rollback PORTCOMMENT modifications while this feature's implementationlioux2002-11-112-2/+1
* Use PORTCOMMENT in the Makefile, and whack the pkg-comment.adamw2002-11-072-1/+2
* find->${FIND},xargs->${XARGS}ijliao2002-09-291-1/+0
* Drop MAINTAINER: I'm not really taking care of these anymore.nectar2002-06-221-1/+1
* Update 2.1 -> 2.2.2nectar2001-08-304-100/+125
* Some spaces -> tabs for ports/www.olgeni2001-02-051-1/+1
* Rename PLIST.docs to pkg-plist.docs.asami2000-10-081-2/+2
* Use USE_PYTHON, PYTHON_VERSION.nectar2000-09-212-28/+27
* Chase the checksum.nectar2000-09-091-1/+1
* Distfile moved.nectar2000-07-221-1/+1
* Locally hosted distfiles moved to ftp.freebsd.org.nectar2000-06-201-2/+1
* Update with the new PORTNAME/PORTVERSION variablescpiazza2000-04-101-3/+3
* FreeBSD.ORG -> FreeBSD.orgmharo1999-08-311-2/+2
* $Id$ -> $FreeBSD$peter1999-08-311-1/+1
* chmod -> ${CHMOD}mharo1999-08-231-3/+1
* #4/4 enforcing Caps, no periodhoek1999-06-271-1/+1
* Add another MASTER_SITES entry and add python to CATEGORIESnectar1999-05-291-3/+3