void TypeRegistry::consolidate()
{
    qualify_type_names();
    collect_template_instances();
    instantiate_templates();
    fill_attributes();
    define_properties();
    fill_needed_headers();
}
Beispiel #2
0
static void
ccnet_peer_class_init (CcnetPeerClass *klass)
{
    GObjectClass *gobject_class = G_OBJECT_CLASS (klass);

    gobject_class->finalize = ccnet_peer_finalize;
    gobject_class->get_property = get_property;
    gobject_class->set_property = set_property;

    define_properties (gobject_class);

    signals[AUTH_DONE_SIG] = 
        g_signal_new ("auth-done", CCNET_TYPE_PEER, 
                      G_SIGNAL_RUN_LAST,
                      0,        /* no class singal handler */
                      NULL, NULL, /* no accumulator */
                      g_cclosure_marshal_VOID__VOID,
                      G_TYPE_NONE, 0);

    signals[DOWN_SIG] = 
        g_signal_new ("down", CCNET_TYPE_PEER, 
                      G_SIGNAL_RUN_LAST,
                      0,        /* no class singal handler */
                      NULL, NULL, /* no accumulator */
                      g_cclosure_marshal_VOID__VOID,
                      G_TYPE_NONE, 0);

    signals[AUTH_UPDATED_SIG] = 
        g_signal_new ("auth-updated", CCNET_TYPE_PEER, 
                      G_SIGNAL_RUN_LAST,
                      0,        /* no class singal handler */
                      NULL, NULL, /* no accumulator */
                      g_cclosure_marshal_VOID__VOID,
                      G_TYPE_NONE, 0);

}