~ubuntu-branches/debian/sid/bijiben/sid

« back to all changes in this revision

Viewing changes to src/bjb-search-toolbar.h

  • Committer: Package Import Robot
  • Author(s): Vincent Cheng
  • Date: 2013-03-26 21:19:36 UTC
  • Revision ID: package-import@ubuntu.com-20130326211936-tu8mpy82juohw8m2
Tags: upstream-3.8.0
Import upstream version 3.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* bjb-search-toolbar.h
 
2
 * Copyright © 2012, 2013 Pierre-Yves LUYTEN <py@luyten.fr>
 
3
 *
 
4
 * bijiben is free software: you can redistribute it and/or modify it
 
5
 * under the terms of the GNU General Public License as published by the
 
6
 * Free Software Foundation, either version 3 of the License, or
 
7
 * (at your option) any later version.
 
8
 *
 
9
 * bijiben is distributed in the hope that it will be useful, but
 
10
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
12
 * See the GNU General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU General Public License along
 
15
 * with this program.  If not, see <http://www.gnu.org/licenses/>.
 
16
 */
 
17
 
 
18
#ifndef BJB_SEARCH_TOOLBAR_H
 
19
#define BJB_SEARCH_TOOLBAR_H
 
20
 
 
21
#include <libgd/gd-revealer.h>
 
22
 
 
23
G_BEGIN_DECLS
 
24
 
 
25
#define BJB_TYPE_SEARCH_TOOLBAR (bjb_search_toolbar_get_type ())
 
26
 
 
27
#define BJB_SEARCH_TOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BJB_TYPE_SEARCH_TOOLBAR, BjbSearchToolbar))
 
28
 
 
29
#define BJB_SEARCH_TOOLBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BJB_TYPE_SEARCH_TOOLBAR, BjbSearchToolbarClass))
 
30
 
 
31
#define BJB_IS_SEARCH_TOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BJB_TYPE_SEARCH_TOOLBAR))
 
32
 
 
33
#define BJB_IS_SEARCH_TOOLBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BJB_TYPE_SEARCH_TOOLBAR))
 
34
 
 
35
#define BJB_SEARCH_TOOLBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BJB_TYPE_SEARCH_TOOLBAR, BjbSearchToolbarClass))
 
36
 
 
37
typedef struct _BjbSearchToolbar        BjbSearchToolbar;
 
38
typedef struct _BjbSearchToolbarClass   BjbSearchToolbarClass;
 
39
typedef struct _BjbSearchToolbarPrivate BjbSearchToolbarPrivate;
 
40
 
 
41
struct _BjbSearchToolbar
 
42
{
 
43
  GtkToolbar parent_instance;
 
44
  BjbSearchToolbarPrivate *priv;
 
45
};
 
46
 
 
47
struct _BjbSearchToolbarClass
 
48
{
 
49
  GtkToolbarClass parent_class;
 
50
};
 
51
 
 
52
GType bjb_search_toolbar_get_type (void) G_GNUC_CONST;
 
53
 
 
54
BjbSearchToolbar * bjb_search_toolbar_new (GtkWidget *window, BjbController *controller);
 
55
 
 
56
GdRevealer * bjb_search_toolbar_get_revealer (BjbSearchToolbar *self);
 
57
 
 
58
void bjb_search_toolbar_disconnect (BjbSearchToolbar *self);
 
59
 
 
60
void bjb_search_toolbar_connect (BjbSearchToolbar *self);
 
61
 
 
62
G_END_DECLS
 
63
 
 
64
#endif /* BJB_SEARCH_TOOLBAR_H */