~ubuntu-branches/ubuntu/lucid/giggle/lucid

« back to all changes in this revision

Viewing changes to src/giggle-history.h

  • Committer: Bazaar Package Importer
  • Author(s): Andrea Corradi
  • Date: 2009-03-30 19:41:43 UTC
  • mfrom: (3.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090330194143-nyr9ze1xola1shm5
Tags: 0.4.91-1
* New upstream release (Closes:  #519014)
* Use Standards-Version 3.8.1
* Add new Build-Depends
* Update Homepage and watch file
* Update debian/copyright
* Remove patch
* Update path in debian/rules
* Remove defs option from LDFLAGS

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
 
/*
3
 
 * Copyright (C) 2007 Imendio AB
4
 
 *
5
 
 * This program is free software; you can redistribute it and/or
6
 
 * modify it under the terms of the GNU General Public License as
7
 
 * published by the Free Software Foundation; either version 2 of the
8
 
 * License, or (at your option) any later version.
9
 
 *
10
 
 * This program 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
 
 * General Public License for more details.
14
 
 *
15
 
 * You should have received a copy of the GNU General Public
16
 
 * License along with this program; if not, write to the
17
 
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18
 
 * Boston, MA 02111-1307, USA.
19
 
 */
20
 
 
21
 
#ifndef __GIGGLE_HISTORY_H__
22
 
#define __GIGGLE_HISTORY_H__
23
 
 
24
 
#include <glib-object.h>
25
 
 
26
 
G_BEGIN_DECLS
27
 
 
28
 
#define GIGGLE_TYPE_HISTORY            (giggle_history_get_type ())
29
 
#define GIGGLE_HISTORY(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIGGLE_TYPE_HISTORY, GiggleHistory))
30
 
#define GIGGLE_IS_HISTORY(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIGGLE_TYPE_HISTORY))
31
 
#define GIGGLE_HISTORY_GET_IFACE(obj)  (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GIGGLE_TYPE_HISTORY, GiggleHistoryIface))
32
 
 
33
 
typedef struct GiggleHistoryIface GiggleHistoryIface;
34
 
typedef struct GiggleHistory      GiggleHistory; /* dummy */
35
 
 
36
 
struct GiggleHistoryIface {
37
 
        GTypeInterface iface;
38
 
 
39
 
        /* vtable */
40
 
        void     (* go_back)         (GiggleHistory     *history);
41
 
        gboolean (* can_go_back)     (GiggleHistory     *history);
42
 
 
43
 
        void     (* go_forward)      (GiggleHistory     *history);
44
 
        gboolean (* can_go_forward)  (GiggleHistory     *history);
45
 
 
46
 
        /* signals */
47
 
        void     (* history_changed) (GiggleHistory     *history);
48
 
};
49
 
 
50
 
 
51
 
GType      giggle_history_get_type (void);
52
 
 
53
 
void       giggle_history_go_back        (GiggleHistory *history);
54
 
gboolean   giggle_history_can_go_back    (GiggleHistory *history);
55
 
 
56
 
void       giggle_history_go_forward     (GiggleHistory *history);
57
 
gboolean   giggle_history_can_go_forward (GiggleHistory *history);
58
 
 
59
 
void       giggle_history_changed        (GiggleHistory *history);
60
 
 
61
 
G_END_DECLS
62
 
 
63
 
#endif /* __GIGGLE_HISTORY_H__ */