/*
 * This file was generated by matecorba-idl-2 - DO NOT EDIT!
 */

#ifndef MATE_Panel_H
#define MATE_Panel_H 1
#include <glib.h>
#define MATECORBA_IDL_SERIAL 20
#include <matecorba/matecorba-types.h>

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */


/** typedefs **/
#include <matecomponent-activation/MateComponent_Unknown.h>
#if !defined(_MATE_Vertigo_PanelOrient_defined)
#define _MATE_Vertigo_PanelOrient_defined 1
typedef CORBA_unsigned_short MATE_Vertigo_PanelOrient;
#define MATE_Vertigo_PanelOrient_marshal(x,y,z) CORBA_unsigned_short_marshal((x),(y),(z))
#define MATE_Vertigo_PanelOrient_demarshal(x,y,z,i) CORBA_unsigned_short_demarshal((x),(y),(z),(i))
#if !defined(TC_IMPL_TC_MATE_Vertigo_PanelOrient_0)
#define TC_IMPL_TC_MATE_Vertigo_PanelOrient_0 'M'
#define TC_IMPL_TC_MATE_Vertigo_PanelOrient_1 'A'
#define TC_IMPL_TC_MATE_Vertigo_PanelOrient_2 'T'
#define TC_IMPL_TC_MATE_Vertigo_PanelOrient_3 'E'
#define TC_IMPL_TC_MATE_Vertigo_PanelOrient_4 '_'
#define TC_IMPL_TC_MATE_Vertigo_PanelOrient_5 'P'
#define TC_IMPL_TC_MATE_Vertigo_PanelOrient_6 'a'
#define TC_IMPL_TC_MATE_Vertigo_PanelOrient_7 'n'
#define TC_IMPL_TC_MATE_Vertigo_PanelOrient_8 'e'
#define TC_IMPL_TC_MATE_Vertigo_PanelOrient_9 'l'
#ifdef MATECORBA_IDL_C_IMODULE_MATE_Panel
static
#else
extern
#endif
MATECORBA2_MAYBE_CONST struct CORBA_TypeCode_struct TC_MATE_Vertigo_PanelOrient_struct;
#define TC_MATE_Vertigo_PanelOrient ((CORBA_TypeCode)&TC_MATE_Vertigo_PanelOrient_struct)
#endif
#define MATE_Vertigo_PanelOrient__alloc() ((MATE_Vertigo_PanelOrient *)MateCORBA_small_alloc (TC_CORBA_unsigned_short))
#define MATE_Vertigo_PanelOrient__freekids(m,d) MateCORBA_small_freekids (TC_CORBA_unsigned_short,(m),(d))
#endif
#ifndef MATE_Vertigo_PANEL_ORIENT_UP
#define MATE_Vertigo_PANEL_ORIENT_UP 0U
#endif /* !MATE_Vertigo_PANEL_ORIENT_UP */

#ifndef MATE_Vertigo_PANEL_ORIENT_DOWN
#define MATE_Vertigo_PANEL_ORIENT_DOWN 1U
#endif /* !MATE_Vertigo_PANEL_ORIENT_DOWN */

#ifndef MATE_Vertigo_PANEL_ORIENT_LEFT
#define MATE_Vertigo_PANEL_ORIENT_LEFT 2U
#endif /* !MATE_Vertigo_PANEL_ORIENT_LEFT */

#ifndef MATE_Vertigo_PANEL_ORIENT_RIGHT
#define MATE_Vertigo_PANEL_ORIENT_RIGHT 3U
#endif /* !MATE_Vertigo_PANEL_ORIENT_RIGHT */

#if !defined(_MATE_Vertigo_PanelSize_defined)
#define _MATE_Vertigo_PanelSize_defined 1
typedef CORBA_unsigned_short MATE_Vertigo_PanelSize;
#define MATE_Vertigo_PanelSize_marshal(x,y,z) CORBA_unsigned_short_marshal((x),(y),(z))
#define MATE_Vertigo_PanelSize_demarshal(x,y,z,i) CORBA_unsigned_short_demarshal((x),(y),(z),(i))
#if !defined(TC_IMPL_TC_MATE_Vertigo_PanelSize_0)
#define TC_IMPL_TC_MATE_Vertigo_PanelSize_0 'M'
#define TC_IMPL_TC_MATE_Vertigo_PanelSize_1 'A'
#define TC_IMPL_TC_MATE_Vertigo_PanelSize_2 'T'
#define TC_IMPL_TC_MATE_Vertigo_PanelSize_3 'E'
#define TC_IMPL_TC_MATE_Vertigo_PanelSize_4 '_'
#define TC_IMPL_TC_MATE_Vertigo_PanelSize_5 'P'
#define TC_IMPL_TC_MATE_Vertigo_PanelSize_6 'a'
#define TC_IMPL_TC_MATE_Vertigo_PanelSize_7 'n'
#define TC_IMPL_TC_MATE_Vertigo_PanelSize_8 'e'
#define TC_IMPL_TC_MATE_Vertigo_PanelSize_9 'l'
#ifdef MATECORBA_IDL_C_IMODULE_MATE_Panel
static
#else
extern
#endif
MATECORBA2_MAYBE_CONST struct CORBA_TypeCode_struct TC_MATE_Vertigo_PanelSize_struct;
#define TC_MATE_Vertigo_PanelSize ((CORBA_TypeCode)&TC_MATE_Vertigo_PanelSize_struct)
#endif
#define MATE_Vertigo_PanelSize__alloc() ((MATE_Vertigo_PanelSize *)MateCORBA_small_alloc (TC_CORBA_unsigned_short))
#define MATE_Vertigo_PanelSize__freekids(m,d) MateCORBA_small_freekids (TC_CORBA_unsigned_short,(m),(d))
#endif
#ifndef MATE_Vertigo_PANEL_XX_SMALL
#define MATE_Vertigo_PANEL_XX_SMALL 12U
#endif /* !MATE_Vertigo_PANEL_XX_SMALL */

#ifndef MATE_Vertigo_PANEL_X_SMALL
#define MATE_Vertigo_PANEL_X_SMALL 24U
#endif /* !MATE_Vertigo_PANEL_X_SMALL */

#ifndef MATE_Vertigo_PANEL_SMALL
#define MATE_Vertigo_PANEL_SMALL 36U
#endif /* !MATE_Vertigo_PANEL_SMALL */

#ifndef MATE_Vertigo_PANEL_MEDIUM
#define MATE_Vertigo_PANEL_MEDIUM 48U
#endif /* !MATE_Vertigo_PANEL_MEDIUM */

#ifndef MATE_Vertigo_PANEL_LARGE
#define MATE_Vertigo_PANEL_LARGE 64U
#endif /* !MATE_Vertigo_PANEL_LARGE */

#ifndef MATE_Vertigo_PANEL_X_LARGE
#define MATE_Vertigo_PANEL_X_LARGE 80U
#endif /* !MATE_Vertigo_PANEL_X_LARGE */

#ifndef MATE_Vertigo_PANEL_XX_LARGE
#define MATE_Vertigo_PANEL_XX_LARGE 128U
#endif /* !MATE_Vertigo_PANEL_XX_LARGE */

#if !defined(MATECORBA_DECL_CORBA_sequence_CORBA_long)
#define MATECORBA_DECL_CORBA_sequence_CORBA_long 1
#define MATECORBA_IMPL_CORBA_sequence_CORBA_long_0 'M'
#define MATECORBA_IMPL_CORBA_sequence_CORBA_long_1 'A'
#define MATECORBA_IMPL_CORBA_sequence_CORBA_long_2 'T'
#define MATECORBA_IMPL_CORBA_sequence_CORBA_long_3 'E'
#define MATECORBA_IMPL_CORBA_sequence_CORBA_long_4 '_'
#define MATECORBA_IMPL_CORBA_sequence_CORBA_long_5 'P'
#define MATECORBA_IMPL_CORBA_sequence_CORBA_long_6 'a'
#define MATECORBA_IMPL_CORBA_sequence_CORBA_long_7 'n'
#define MATECORBA_IMPL_CORBA_sequence_CORBA_long_8 'e'
#define MATECORBA_IMPL_CORBA_sequence_CORBA_long_9 'l'
#if !defined(_CORBA_sequence_CORBA_long_defined)
#define _CORBA_sequence_CORBA_long_defined 1
typedef struct { CORBA_unsigned_long _maximum, _length; CORBA_long* _buffer; CORBA_boolean _release; } CORBA_sequence_CORBA_long;
#endif
#if !defined(TC_IMPL_TC_CORBA_sequence_CORBA_long_0)
#define TC_IMPL_TC_CORBA_sequence_CORBA_long_0 'M'
#define TC_IMPL_TC_CORBA_sequence_CORBA_long_1 'A'
#define TC_IMPL_TC_CORBA_sequence_CORBA_long_2 'T'
#define TC_IMPL_TC_CORBA_sequence_CORBA_long_3 'E'
#define TC_IMPL_TC_CORBA_sequence_CORBA_long_4 '_'
#define TC_IMPL_TC_CORBA_sequence_CORBA_long_5 'P'
#define TC_IMPL_TC_CORBA_sequence_CORBA_long_6 'a'
#define TC_IMPL_TC_CORBA_sequence_CORBA_long_7 'n'
#define TC_IMPL_TC_CORBA_sequence_CORBA_long_8 'e'
#define TC_IMPL_TC_CORBA_sequence_CORBA_long_9 'l'
#ifdef MATECORBA_IDL_C_IMODULE_MATE_Panel
static
#else
extern
#endif
MATECORBA2_MAYBE_CONST struct CORBA_TypeCode_struct TC_CORBA_sequence_CORBA_long_struct;
#define TC_CORBA_sequence_CORBA_long ((CORBA_TypeCode)&TC_CORBA_sequence_CORBA_long_struct)
#endif
#define CORBA_sequence_CORBA_long__alloc() ((CORBA_sequence_CORBA_long *)MateCORBA_small_alloc (TC_CORBA_sequence_CORBA_long))
#define CORBA_sequence_CORBA_long__freekids(m,d) MateCORBA_small_freekids (TC_CORBA_sequence_CORBA_long,(m),(d))
#define CORBA_sequence_CORBA_long_allocbuf(l) ((CORBA_long*)MateCORBA_small_allocbuf (TC_CORBA_sequence_CORBA_long, (l)))
#define CORBA_sequence_CORBA_long_allocbuf(l) ((CORBA_long*)MateCORBA_small_allocbuf (TC_CORBA_sequence_CORBA_long, (l)))
#endif
#if !defined(_MATE_Vertigo_SizeHintList_defined)
#define _MATE_Vertigo_SizeHintList_defined 1
typedef CORBA_sequence_CORBA_long MATE_Vertigo_SizeHintList;
#define MATE_Vertigo_SizeHintList_marshal(x,y,z) CORBA_sequence_CORBA_long_marshal((x),(y),(z))
#define MATE_Vertigo_SizeHintList_demarshal(x,y,z,i) CORBA_sequence_CORBA_long_demarshal((x),(y),(z),(i))
#if !defined(TC_IMPL_TC_MATE_Vertigo_SizeHintList_0)
#define TC_IMPL_TC_MATE_Vertigo_SizeHintList_0 'M'
#define TC_IMPL_TC_MATE_Vertigo_SizeHintList_1 'A'
#define TC_IMPL_TC_MATE_Vertigo_SizeHintList_2 'T'
#define TC_IMPL_TC_MATE_Vertigo_SizeHintList_3 'E'
#define TC_IMPL_TC_MATE_Vertigo_SizeHintList_4 '_'
#define TC_IMPL_TC_MATE_Vertigo_SizeHintList_5 'P'
#define TC_IMPL_TC_MATE_Vertigo_SizeHintList_6 'a'
#define TC_IMPL_TC_MATE_Vertigo_SizeHintList_7 'n'
#define TC_IMPL_TC_MATE_Vertigo_SizeHintList_8 'e'
#define TC_IMPL_TC_MATE_Vertigo_SizeHintList_9 'l'
#ifdef MATECORBA_IDL_C_IMODULE_MATE_Panel
static
#else
extern
#endif
MATECORBA2_MAYBE_CONST struct CORBA_TypeCode_struct TC_MATE_Vertigo_SizeHintList_struct;
#define TC_MATE_Vertigo_SizeHintList ((CORBA_TypeCode)&TC_MATE_Vertigo_SizeHintList_struct)
#endif
#define MATE_Vertigo_SizeHintList__alloc() ((MATE_Vertigo_SizeHintList *)MateCORBA_small_alloc (TC_CORBA_sequence_CORBA_long))
#define MATE_Vertigo_SizeHintList__freekids(m,d) MateCORBA_small_freekids (TC_CORBA_sequence_CORBA_long,(m),(d))
#define MATE_Vertigo_SizeHintList_allocbuf(l) ((CORBA_long*)MateCORBA_small_allocbuf (TC_CORBA_sequence_CORBA_long, (l)))
#endif
#if !defined(_MATE_Vertigo_PanelBackground_defined)
#define _MATE_Vertigo_PanelBackground_defined 1
typedef CORBA_string MATE_Vertigo_PanelBackground;
#define MATE_Vertigo_PanelBackground_marshal(x,y,z) CORBA_string_marshal((x),(y),(z))
#define MATE_Vertigo_PanelBackground_demarshal(x,y,z,i) CORBA_string_demarshal((x),(y),(z),(i))
#if !defined(TC_IMPL_TC_MATE_Vertigo_PanelBackground_0)
#define TC_IMPL_TC_MATE_Vertigo_PanelBackground_0 'M'
#define TC_IMPL_TC_MATE_Vertigo_PanelBackground_1 'A'
#define TC_IMPL_TC_MATE_Vertigo_PanelBackground_2 'T'
#define TC_IMPL_TC_MATE_Vertigo_PanelBackground_3 'E'
#define TC_IMPL_TC_MATE_Vertigo_PanelBackground_4 '_'
#define TC_IMPL_TC_MATE_Vertigo_PanelBackground_5 'P'
#define TC_IMPL_TC_MATE_Vertigo_PanelBackground_6 'a'
#define TC_IMPL_TC_MATE_Vertigo_PanelBackground_7 'n'
#define TC_IMPL_TC_MATE_Vertigo_PanelBackground_8 'e'
#define TC_IMPL_TC_MATE_Vertigo_PanelBackground_9 'l'
#ifdef MATECORBA_IDL_C_IMODULE_MATE_Panel
static
#else
extern
#endif
MATECORBA2_MAYBE_CONST struct CORBA_TypeCode_struct TC_MATE_Vertigo_PanelBackground_struct;
#define TC_MATE_Vertigo_PanelBackground ((CORBA_TypeCode)&TC_MATE_Vertigo_PanelBackground_struct)
#endif
#define MATE_Vertigo_PanelBackground__alloc() ((MATE_Vertigo_PanelBackground *)MateCORBA_small_alloc (TC_CORBA_string))
#define MATE_Vertigo_PanelBackground__freekids(m,d) MateCORBA_small_freekids (TC_CORBA_string,(m),(d))
#endif
#if !defined(MATECORBA_DECL_MATE_Vertigo_MatePanelAppletShell) && !defined(_MATE_Vertigo_MatePanelAppletShell_defined)
#define MATECORBA_DECL_MATE_Vertigo_MatePanelAppletShell 1
#define _MATE_Vertigo_MatePanelAppletShell_defined 1
#define MATE_Vertigo_MatePanelAppletShell__freekids CORBA_Object__freekids
typedef CORBA_Object MATE_Vertigo_MatePanelAppletShell;
extern CORBA_unsigned_long MATE_Vertigo_MatePanelAppletShell__classid;
#if !defined(TC_IMPL_TC_MATE_Vertigo_MatePanelAppletShell_0)
#define TC_IMPL_TC_MATE_Vertigo_MatePanelAppletShell_0 'M'
#define TC_IMPL_TC_MATE_Vertigo_MatePanelAppletShell_1 'A'
#define TC_IMPL_TC_MATE_Vertigo_MatePanelAppletShell_2 'T'
#define TC_IMPL_TC_MATE_Vertigo_MatePanelAppletShell_3 'E'
#define TC_IMPL_TC_MATE_Vertigo_MatePanelAppletShell_4 '_'
#define TC_IMPL_TC_MATE_Vertigo_MatePanelAppletShell_5 'P'
#define TC_IMPL_TC_MATE_Vertigo_MatePanelAppletShell_6 'a'
#define TC_IMPL_TC_MATE_Vertigo_MatePanelAppletShell_7 'n'
#define TC_IMPL_TC_MATE_Vertigo_MatePanelAppletShell_8 'e'
#define TC_IMPL_TC_MATE_Vertigo_MatePanelAppletShell_9 'l'
#ifdef MATECORBA_IDL_C_IMODULE_MATE_Panel
static
#else
extern
#endif
MATECORBA2_MAYBE_CONST struct CORBA_TypeCode_struct TC_MATE_Vertigo_MatePanelAppletShell_struct;
#define TC_MATE_Vertigo_MatePanelAppletShell ((CORBA_TypeCode)&TC_MATE_Vertigo_MatePanelAppletShell_struct)
#endif
#endif

/** POA structures **/
#ifndef _defined_POA_MATE_Vertigo_MatePanelAppletShell
#define _defined_POA_MATE_Vertigo_MatePanelAppletShell 1
typedef struct {
  void *_private;
void (*popup_menu)(PortableServer_Servant _servant, const CORBA_long button, const CORBA_long time, CORBA_Environment *ev);
} POA_MATE_Vertigo_MatePanelAppletShell__epv;
typedef struct {
  PortableServer_ServantBase__epv *_base_epv;
  POA_MateComponent_Unknown__epv *MateComponent_Unknown_epv;
  POA_MATE_Vertigo_MatePanelAppletShell__epv *MATE_Vertigo_MatePanelAppletShell_epv;
} POA_MATE_Vertigo_MatePanelAppletShell__vepv;
typedef struct {
  void *_private;
  POA_MATE_Vertigo_MatePanelAppletShell__vepv *vepv;
} POA_MATE_Vertigo_MatePanelAppletShell;
extern void POA_MATE_Vertigo_MatePanelAppletShell__init(PortableServer_Servant servant, CORBA_Environment *ev);
extern void POA_MATE_Vertigo_MatePanelAppletShell__fini(PortableServer_Servant servant, CORBA_Environment *ev);
#endif /* _defined_POA_MATE_Vertigo_MatePanelAppletShell */

/** skel prototypes **/
void _MATECORBA_skel_small_MATE_Vertigo_MatePanelAppletShell_popup_menu(POA_MATE_Vertigo_MatePanelAppletShell *_MATECORBA_servant, gpointer _MATECORBA_retval, gpointer *_MATECORBA_args, CORBA_Context ctx,CORBA_Environment *ev, void (*_impl_popup_menu)(PortableServer_Servant _servant, const CORBA_long button, const CORBA_long time, CORBA_Environment *ev));

/** stub prototypes **/
#define MATE_Vertigo_MatePanelAppletShell_ref MateComponent_Unknown_ref
#define MATE_Vertigo_MatePanelAppletShell_unref MateComponent_Unknown_unref
#define MATE_Vertigo_MatePanelAppletShell_queryInterface MateComponent_Unknown_queryInterface
void MATE_Vertigo_MatePanelAppletShell_popup_menu(MATE_Vertigo_MatePanelAppletShell _obj, const CORBA_long button, const CORBA_long time, CORBA_Environment *ev);
#include <matecorba/orb-core/matecorba-interface.h>

#ifdef MATECORBA_IDL_C_IMODULE_MATE_Panel
static 
#else
extern 
#endif
MateCORBA_IInterface MATE_Vertigo_MatePanelAppletShell__iinterface;
#define MATE_Vertigo_MatePanelAppletShell_IMETHODS_LEN 1
#ifdef MATECORBA_IDL_C_IMODULE_MATE_Panel
static 
#else
extern 
#endif
MateCORBA_IMethod MATE_Vertigo_MatePanelAppletShell__imethods[MATE_Vertigo_MatePanelAppletShell_IMETHODS_LEN];

/** IMethods index */

#ifndef __MATE_Vertigo_MatePanelAppletShell__imethods_index
#define __MATE_Vertigo_MatePanelAppletShell__imethods_index
typedef enum {
	MATE_Vertigo_MatePanelAppletShell_popup_menu__imethods_index
} MATE_Vertigo_MatePanelAppletShell__imethods_index;
#endif /* __MATE_Vertigo_MatePanelAppletShell__imethods_index */

#ifndef __MATECORBA_IMETHODS_INDEX
#define __MATECORBA_IMETHODS_INDEX
#define MATECORBA_IMETHODS_INDEX(m) (m ## __imethods_index)
#endif /* __MATECORBA_IMETHODS_INDEX */

#ifdef __cplusplus
}
#endif /* __cplusplus */

#ifndef EXCLUDE_MATECORBA_H
#include <matecorba/matecorba.h>

#endif /* EXCLUDE_MATECORBA_H */
#endif
#undef MATECORBA_IDL_SERIAL
