Gtk2-TrayManager
view release on metacpan or search on metacpan
egg-macros.h view on Meta::CPAN
*
* Copyright 2001 Ben Tea Spoons, Inc.
*/
#ifndef _EGG_MACROS_H_
#define _EGG_MACROS_H_
#include <glib/gmacros.h>
G_BEGIN_DECLS
/* Macros for defining classes. Ideas taken from Nautilus and GOB. */
/* Define the boilerplate type stuff to reduce typos and code size. Defines
* the get_type method and the parent_class static variable. */
#define EGG_BOILERPLATE(type, type_as_function, corba_type, \
parent_type, parent_type_macro, \
register_type_macro) \
static void type_as_function ## _class_init (type ## Class *klass); \
static void type_as_function ## _instance_init (type *object); \
static parent_type ## Class *parent_class = NULL; \
( run in 0.434 second using v1.01-cache-2.11-cpan-49f99fa48dc )