]> git.0d.be Git - empathy.git/blob - libempathy-gtk/empathy-search-bar.h
individual-menu: stop creating single_individual
[empathy.git] / libempathy-gtk / empathy-search-bar.h
1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3  * Copyright (C) 2010 Thomas Meire <blackskad@gmail.com>
4  *
5  * The code contained in this file is free software; you can redistribute
6  * it and/or modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either version
8  * 2.1 of the License, or (at your option) any later version.
9  *
10  * This file is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this code; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18  */
19
20 #ifndef __EMPATHY_SEARCH_BAR_H__
21 #define __EMPATHY_SEARCH_BAR_H__
22
23 #include <gtk/gtk.h>
24
25 #include "empathy-theme-adium.h"
26
27 G_BEGIN_DECLS
28
29 #define EMPATHY_TYPE_SEARCH_BAR (empathy_search_bar_get_type ())
30 #define EMPATHY_SEARCH_BAR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), \
31     EMPATHY_TYPE_SEARCH_BAR, EmpathySearchBar))
32 #define EMPATHY_SEARCH_BAR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), \
33     EMPATHY_TYPE_SEARCH_BAR, EmpathySearchBarClass))
34 #define EMPATHY_IS_SEARCH_BAR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), \
35     EMPATHY_TYPE_SEARCH_BAR))
36 #define EMPATHY_IS_SEARCH_BAR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), \
37     EMPATHY_TYPE_SEARCH_BAR))
38 #define EMPATHY_SEARCH_BAR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o),\
39     EMPATHY_TYPE_SEARCH_BAR, EmpathySearchBarClass))
40
41 typedef struct _EmpathySearchBar EmpathySearchBar;
42 typedef struct _EmpathySearchBarClass EmpathySearchBarClass;
43
44 struct _EmpathySearchBar
45 {
46   GtkBox parent;
47
48   /*<private>*/
49   gpointer priv;
50 };
51
52 struct _EmpathySearchBarClass
53 {
54   GtkBoxClass parent_class;
55 };
56
57 GType       empathy_search_bar_get_type (void) G_GNUC_CONST;
58 GtkWidget * empathy_search_bar_new      (EmpathyThemeAdium *view);
59 void        empathy_search_bar_show     (EmpathySearchBar *searchbar);
60 void        empathy_search_bar_hide     (EmpathySearchBar *searchbar);
61 void        empathy_search_bar_paste_clipboard (EmpathySearchBar *searchbar);
62
63 G_END_DECLS
64
65 #endif /* __EMPATHY_SEARCH_BAR_H__ */