Merged revisions 6293,6296-6306,6308 via svnmerge from
[ardour.git] / libs / glibmm2 / tools / extra_defs_gen / generate_defs_gio.cc
1 /* generate_defs_gio.cc
2  *
3  * Copyright (C) 2007 The gtkmm Development Team
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library 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  * Library General Public License for more details.
14  *
15  * You should have received a copy of the GNU Library General Public
16  * License along with this library; if not, write to the Free
17  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18  */
19
20 #include "generate_extra_defs.h"
21 #include <iostream>
22 #include <gio/gio.h>
23
24 int main (int argc, char** argv)
25 {
26   g_type_init ();
27
28   std::cout << get_defs(G_TYPE_ASYNC_RESULT)
29             << get_defs(G_TYPE_CANCELLABLE)
30             << get_defs(G_TYPE_BUFFERED_INPUT_STREAM)
31             << get_defs(G_TYPE_BUFFERED_OUTPUT_STREAM)
32             << get_defs(G_TYPE_DATA_INPUT_STREAM)
33             << get_defs(G_TYPE_DATA_OUTPUT_STREAM)
34             << get_defs(G_TYPE_DRIVE)
35             << get_defs(G_TYPE_FILE)
36             << get_defs(G_TYPE_FILE_ENUMERATOR)
37             << get_defs(G_TYPE_FILE_INFO)
38             << get_defs(G_TYPE_FILE_ICON)
39             << get_defs(G_TYPE_FILE_MONITOR)
40             << get_defs(G_TYPE_FILENAME_COMPLETER)
41 //            << get_defs(G_TYPE_FILE_ATTRIBUTE_INFO_LIST)
42 //            << get_defs(G_TYPE_FILE_ATTRIBUTE_MATCHER)
43             << get_defs(G_TYPE_FILE_INPUT_STREAM)
44             << get_defs(G_TYPE_FILE_OUTPUT_STREAM)
45             << get_defs(G_TYPE_FILTER_INPUT_STREAM)
46             << get_defs(G_TYPE_FILTER_OUTPUT_STREAM)
47
48             << get_defs(G_TYPE_INPUT_STREAM)
49             << get_defs(G_TYPE_LOADABLE_ICON)
50             << get_defs(G_TYPE_MEMORY_INPUT_STREAM)
51             << get_defs(G_TYPE_MEMORY_OUTPUT_STREAM)
52             << get_defs(G_TYPE_MOUNT)
53             << get_defs(G_TYPE_MOUNT_OPERATION)
54             << get_defs(G_TYPE_SEEKABLE)
55             << get_defs(G_TYPE_SIMPLE_ASYNC_RESULT)
56             << get_defs(G_TYPE_THEMED_ICON)
57
58             //TODO: This causes a g_warning:
59             //GLib-GObject-CRITICAL **: g_param_spec_pool_list: assertion `pool != NULL' failed"
60             << get_defs(G_TYPE_VOLUME)
61
62             << get_defs(G_TYPE_VOLUME_MONITOR)
63
64             << std::endl;
65   
66   return 0;
67 }