1 /*
2  * Copyright (C) 2012 Ignacio Casal Quinteiro <icq@gnome.org>
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 #ifndef __GTR_TRANSLATION_MEMORY_DIALOG_H__
19 #define __GTR_TRANSLATION_MEMORY_DIALOG_H__
20 
21 #include <gtk/gtk.h>
22 #include "gtr-translation-memory.h"
23 
24 G_BEGIN_DECLS
25 
26 #define GTR_TYPE_TRANSLATION_MEMORY_DIALOG             (gtr_translation_memory_dialog_get_type ())
27 #define GTR_TRANSLATION_MEMORY_DIALOG(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTR_TYPE_TRANSLATION_MEMORY_DIALOG, GtrTranslationMemoryDialog))
28 #define GTR_TRANSLATION_MEMORY_DIALOG_CONST(obj)       (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTR_TYPE_TRANSLATION_MEMORY_DIALOG, GtrTranslationMemoryDialog const))
29 #define GTR_TRANSLATION_MEMORY_DIALOG_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), GTR_TYPE_TRANSLATION_MEMORY_DIALOG, GtrTranslationMemoryDialogClass))
30 #define GTR_IS_TRANSLATION_MEMORY_DIALOG(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTR_TYPE_TRANSLATION_MEMORY_DIALOG))
31 #define GTR_IS_TRANSLATION_MEMORY_DIALOG_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), GTR_TYPE_TRANSLATION_MEMORY_DIALOG))
32 #define GTR_TRANSLATION_MEMORY_DIALOG_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GTR_TYPE_TRANSLATION_MEMORY_DIALOG, GtrTranslationMemoryDialogClass))
33 
34 typedef struct _GtrTranslationMemoryDialog         GtrTranslationMemoryDialog;
35 typedef struct _GtrTranslationMemoryDialogClass    GtrTranslationMemoryDialogClass;
36 
37 struct _GtrTranslationMemoryDialog
38 {
39   GtkDialog parent;
40 };
41 
42 struct _GtrTranslationMemoryDialogClass
43 {
44   GtkDialogClass parent_class;
45 };
46 
47 GType            gtr_translation_memory_dialog_get_type     (void) G_GNUC_CONST;
48 
49 GtkWidget       *gtr_translation_memory_dialog_new          (GtrTranslationMemory *translation_memory);
50 
51 G_END_DECLS
52 
53 #endif /* __GTR_TRANSLATION_MEMORY_DIALOG_H__ */
54