Whitespace fix
[empathy-mirror.git] / libempathy-gtk / empathy-search-bar.h
blobc17778b7f2d2706420e8fedd87f2b7e3b2049ef1
1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3 * Copyright (C) 2010 Thomas Meire <blackskad@gmail.com>
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.
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.
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
20 #ifndef __EMPATHY_SEARCH_BAR_H__
21 #define __EMPATHY_SEARCH_BAR_H__
23 #include <glib.h>
24 #include <glib-object.h>
26 #include "empathy-chat-view.h"
28 G_BEGIN_DECLS
30 #define EMPATHY_TYPE_SEARCH_BAR (empathy_search_bar_get_type ())
31 #define EMPATHY_SEARCH_BAR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), \
32 EMPATHY_TYPE_SEARCH_BAR, EmpathySearchBar))
33 #define EMPATHY_SEARCH_BAR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), \
34 EMPATHY_TYPE_SEARCH_BAR, EmpathySearchBarClass))
35 #define EMPATHY_IS_SEARCH_BAR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), \
36 EMPATHY_TYPE_SEARCH_BAR))
37 #define EMPATHY_IS_SEARCH_BAR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), \
38 EMPATHY_TYPE_SEARCH_BAR))
39 #define EMPATHY_SEARCH_BAR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o),\
40 EMPATHY_TYPE_SEARCH_BAR, EmpathySearchBarClass))
42 typedef struct _EmpathySearchBar EmpathySearchBar;
43 typedef struct _EmpathySearchBarClass EmpathySearchBarClass;
45 struct _EmpathySearchBar
47 GtkBin parent;
49 /*<private>*/
50 gpointer priv;
53 struct _EmpathySearchBarClass
55 GtkBinClass parent_class;
58 GType empathy_search_bar_get_type (void) G_GNUC_CONST;
59 GtkWidget * empathy_search_bar_new (EmpathyChatView *view);
60 void empathy_search_bar_show (EmpathySearchBar *searchbar);
61 void empathy_search_bar_hide (EmpathySearchBar *searchbar);
63 G_END_DECLS
65 #endif /* __EMPATHY_SEARCH_BAR_H__ */