source: trunk/third/evolution/mail/mail-search.h @ 16787

Revision 16787, 2.0 KB checked in by ghudson, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r16786, which included commits to RCS files with non-trunk default branches.
Line 
1/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
3/*
4 * mail-search.h
5 *
6 * Copyright (C) 2001 Ximian, Inc.
7 *
8 * Developed by Jon Trowbridge <trow@ximian.com>
9 */
10
11/*
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of version 2 of the GNU General Public
14 * License as published by the Free Software Foundation.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
24 * USA.
25 */
26
27#ifndef _MAIL_SEARCH_H_
28#define _MAIL_SEARCH_H_
29
30#ifdef _cplusplus
31extern "C" {
32#pragma }
33#endif /* _cplusplus */
34
35#include <gnome.h>
36#include "mail-display.h"
37
38#define MAIL_SEARCH_TYPE        (mail_search_get_type ())
39#define MAIL_SEARCH(o)          (GTK_CHECK_CAST ((o), MAIL_SEARCH_TYPE, MailSearch))
40#define MAIL_SEARCH_CLASS(k)    (GTK_CHECK_CLASS_CAST ((k), MAIL_SEARCH_TYPE, MailSearch))
41#define IS_MAIL_SEARCH(o)       (GTK_CHECK_TYPE ((o), MAIL_SEARCH_TYPE))
42#define IS_MAIL_SEARCH_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), MAIL_SEARCH_TYPE))
43
44typedef struct _MailSearch      MailSearch;
45typedef struct _MailSearchClass MailSearchClass;
46
47struct _MailSearch {
48        GnomeDialog parent;
49       
50        MailDisplay *mail;
51
52        GtkWidget *entry;
53        GtkWidget *msg_frame;
54        GtkWidget *count_label;
55
56        gboolean search_forward, case_sensitive;
57        gchar *last_search;
58
59        guint begin_handler;
60        guint match_handler;
61};
62
63struct _MailSearchClass {
64        GnomeDialogClass parent_class;
65
66};
67
68GtkType    mail_search_get_type (void);
69
70void       mail_search_construct (MailSearch *, MailDisplay *);
71GtkWidget *mail_search_new       (MailDisplay *);
72
73
74#ifdef _cplusplus
75}
76#endif /* _cplusplus */
77
78#endif /* _MAIL_SEARCH_H_ */
79
Note: See TracBrowser for help on using the repository browser.