/* $Id: generate_defs_libbonobo.cc,v 1.2 2002/04/21 16:23:56 murrayc Exp $ */ /* generate_defs_libbonobo.h * * Copyright (C) 2001 The Free Software Foundation * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "gtkmm_generate_extra_defs/generate_extra_defs.h" #include #include #include #include int main (int argc, char *argv[]) { if (!bonobo_init(&argc, argv)) g_error (_("Cannot init libbonobo code")); std::cout << get_defs(BONOBO_TYPE_EVENT_SOURCE) << get_defs(BONOBO_TYPE_GENERIC_FACTORY) << get_defs(BONOBO_TYPE_ITEM_CONTAINER) << get_defs(BONOBO_TYPE_ITEM_HANDLER) << get_defs(BONOBO_TYPE_LISTENER) << get_defs(BONOBO_TYPE_MONIKER_EXTENDER) << get_defs(BONOBO_TYPE_MONIKER_SIMPLE) << get_defs(BONOBO_TYPE_MONIKER) << get_defs(BONOBO_TYPE_OBJECT) << get_defs(BONOBO_TYPE_PERSIST_FILE) << get_defs(BONOBO_TYPE_PERSIST_STREAM) << get_defs(BONOBO_TYPE_PERSIST) // << get_defs(BONOBO_PROPERTY_READABLE) //segfaults << get_defs(BONOBO_TYPE_SHLIB_FACTORY) << get_defs(BONOBO_TYPE_STORAGE_MEM) << get_defs(BONOBO_TYPE_STREAM_MEM); return 0; }