menuitem.h File Reference

Descripes the MenuItem structures, functions and constants. More...

#include "../jnilib.h"
#include "listeners.h"

Include dependency graph for menuitem.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  MenuItem_
 A structure for C, which describes the MenuItem. More...
struct  MenuItemCPP_
 A structure for C++, which describes the MenuItem. More...
struct  MenuItemData
 This structure holds the data needed for the MenuItem for C and C++. More...

Defines

#define CLS_MENUITEM   "java/awt/MenuItem"
 Defines the full name of the AWT-MenuItem-Class.
#define createMenuItem   createMenuItemC
 Defines which function to call when createMenuItem is called.
#define deleteMenuItem   deleteMenuItemC
 Defines which function to call when deleteMenuItem is called.

Typedefs

typedef MenuItem_ MenuItem
 Defines which structure is used as MenuItem.
typedef MenuItem_ MenuItem_
 A structure for C, which describes the MenuItem.
typedef MenuItemCPP_ MenuItemCPP_
 A structure for C++, which describes the MenuItem.
typedef MenuItemData MenuItemData
 This structure holds the data needed for the MenuItem for C and C++.

Functions

void createMenuItemC (MenuItem_ *menuitem)
 Function is called when working with C and calling the function createMenuItem.
void createMenuItemCPP (MenuItemCPP_ *menuitem)
 Function is called when working with C++ and calling the function createMenuItem.
void deleteMenuItemC (MenuItem_ *menuitem)
 Function is called when working with C and calling the function deleteMenuItem.
void deleteMenuItemCPP (MenuItemCPP_ *menuitem)
 Function is called when working with C++ and calling the function deleteMenuItem.


Detailed Description

Descripes the MenuItem structures, functions and constants.

A MenuItem is a simple labeled menu entry. When you label a MenuItem with a "-" it will be displayed as separator.

Author:
Stefan Gruber
Date:
03.02.2005

Definition in file menuitem.h.


Define Documentation

#define CLS_MENUITEM   "java/awt/MenuItem"
 

Defines the full name of the AWT-MenuItem-Class.

Definition at line 22 of file menuitem.h.

#define createMenuItem   createMenuItemC
 

Defines which function to call when createMenuItem is called.

Definition at line 34 of file menuitem.h.

#define deleteMenuItem   deleteMenuItemC
 

Defines which function to call when deleteMenuItem is called.

Definition at line 35 of file menuitem.h.


Typedef Documentation

typedef struct MenuItem_ MenuItem
 

Defines which structure is used as MenuItem.

Definition at line 33 of file menuitem.h.

typedef struct MenuItem_ MenuItem_
 

A structure for C, which describes the MenuItem.

typedef struct MenuItemCPP_ MenuItemCPP_
 

A structure for C++, which describes the MenuItem.

typedef struct MenuItemData MenuItemData
 

This structure holds the data needed for the MenuItem for C and C++.


Function Documentation

void createMenuItemC MenuItem_ menuitem  ) 
 

Function is called when working with C and calling the function createMenuItem.

It initializes the MenuItem_ structure.

Parameters:
menuitem - A pointer to a MenuItem_ structure.

Definition at line 163 of file menuitem.c.

void createMenuItemCPP MenuItemCPP_ menuitem  ) 
 

Function is called when working with C++ and calling the function createMenuItem.

It initializes the MenuItemCPP_ structure.

Parameters:
menuitem - A pointer to a MenuItemCPP_ structure.

Definition at line 151 of file menuitem.c.

void deleteMenuItemC MenuItem_ menuitem  ) 
 

Function is called when working with C and calling the function deleteMenuItem.

Parameters:
menuitem - A pointer to a MenuItem_ structure.

Definition at line 193 of file menuitem.c.

void deleteMenuItemCPP MenuItemCPP_ menuitem  ) 
 

Function is called when working with C++ and calling the function deleteMenuItem.

Parameters:
menuitem - A pointer to a MenuItemCPP_ structure.

Definition at line 183 of file menuitem.c.


Generated on Sat Nov 19 14:11:14 2005 for GrubC by  doxygen 1.4.4