~ubuntu-branches/ubuntu/trusty/gq/trusty

« back to all changes in this revision

Viewing changes to src/gq-difference.h

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese
  • Date: 2009-10-25 23:34:56 UTC
  • mfrom: (1.1.4 upstream) (3.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20091025233456-i794n3yg2cff930j
Tags: 1.3.4-1
* QA upload.
  + Set maintainer to Debian QA Group <packages@qa.debian.org>.
* New upstream release. (Closes: #534705).
  + Does not segfault on amd64. (Closes: #444312).
  + Remove all existing patches and change patch system to quilt.
  + Replace dpatch build-dep with quilt.
* 01_desktop_file.diff - Remove encoding and bogus categories 
  from desktop file.
* Copy in config.{sub,guess} on configure, rm them on clean.
  + Add build-dep on autotools-dev.
* Make clean not ignore errors.
* Add copyright holders and version path to GPL (GPL-2).
* Update watch file to use SF redirector. (Closes: #449749).
* Bump debhelper build-dep and compat to 5.
* Bump Standards Version to 3.8.3.
  + Menu policy transition.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* This file is part of GQ
 
2
 *
 
3
 * AUTHORS
 
4
 *     Sven Herzberg  <herzi@gnome-de.org>
 
5
 *
 
6
 * Copyright (C) 2006  Sven Herzberg
 
7
 *
 
8
 * This program is free software; you can redistribute it and/or
 
9
 * modify it under the terms of the GNU Lesser General Public License as
 
10
 * published by the Free Software Foundation; either version 2.1 of the
 
11
 * License, or (at your option) any later version.
 
12
 *
 
13
 * This program is distributed in the hope that it will be useful,
 
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16
 * GNU Lesser General Public License for more details.
 
17
 *
 
18
 * You should have received a copy of the GNU Lesser General Public License
 
19
 * along with this program; if not, write to the Free Software
 
20
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 
21
 * USA
 
22
 */
 
23
 
 
24
#ifndef GQ_DIFFERENCE_H
 
25
#define GQ_DIFFERENCE_H
 
26
 
 
27
#include "gq-input-form.h"
 
28
 
 
29
G_BEGIN_DECLS
 
30
 
 
31
typedef GObject      GqDifference;
 
32
typedef GObjectClass GqDifferenceClass;
 
33
 
 
34
#define GQ_TYPE_DIFFERENCE         (gq_difference_get_type())
 
35
#define GQ_DIFFERENCE(i)           (G_TYPE_CHECK_INSTANCE_CAST((i), GQ_TYPE_DIFFERENCE, GqDifference))
 
36
#define GQ_DIFFERENCE_CLASS(c)     (G_TYPE_CHECK_CLASS_CAST((c), GQ_TYPE_DIFFERENCE, GqDifferenceClass))
 
37
#define GQ_IS_DIFFERENCE(i)        (G_TYPE_CHECK_INSTANCE_TYPE((i), GQ_TYPE_DIFFERENCE))
 
38
#define GQ_IS_DIFFERENCE_CLASS(c)  (G_TYPE_CHECK_CLASS_TYPE((c), GQ_TYPE_DIFFERENCE))
 
39
#define GQ_DIFFERENCE_GET_CLASS(i) (G_TYPE_INSTANCE_GET_CLASS((i), GQ_TYPE_DIFFERENCE, GqDifferenceClass))
 
40
 
 
41
typedef void (*GqDifferenceFunc) (GqFormfill* form1,
 
42
                                  GqFormfill* form2,
 
43
                                  gboolean    equal,
 
44
                                  gpointer    user_data);
 
45
 
 
46
GType         gq_difference_get_type (void);
 
47
GqDifference* gq_difference_new      (void);
 
48
void          gq_difference_set_form1(GqDifference* self,
 
49
                                      GqInputForm * form1);
 
50
void          gq_difference_set_form2(GqDifference* self,
 
51
                                      GqInputForm * form2);
 
52
void          gq_difference_foreach  (GqDifference const* self,
 
53
                                      GqDifferenceFunc    func,
 
54
                                      gpointer            data);
 
55
 
 
56
G_END_DECLS
 
57
 
 
58
#endif /* !GQ_DIFFERENCE_H */