Classes | Typedefs | Functions
gen/win_button_gen.c File Reference
#include "win_button_gen.h"
#include "button_friend_gen.h"

Go to the source code of this file.


struct  win_button_st_


typedef struct
win_button_data_st_ * 
typedef struct win_button_st_ win_button_st


button_handle win_button_cast_to_button (win_button_handle win_button_h)
void win_button_delete (win_button_handle win_button_h)

Detailed Description

Matt Miller <>


This program 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 program 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 General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <>.


This implements the interface related portion of the win_button class. This file should be included in the win_button implementation file Yes, including a C file is bizarre, but that's how it works here.

Definition in file win_button_gen.c.

Typedef Documentation

typedef struct win_button_data_st_* win_button_data_handle

Forward pointer to reference non-interface data for the class. This must be defined manually.

Definition at line 42 of file win_button_gen.c.

typedef struct win_button_st_ win_button_st

Private data for this class

Function Documentation

button_handle win_button_cast_to_button ( win_button_handle  win_button_h)

Cast the win_button object to button.

win_button_hThe win_button object
The button object

Definition at line 98 of file win_button_gen.c.

void win_button_delete ( win_button_handle  win_button_h)

The function to delete a win_button object. Upon return, the object is not longer valid and the pointer is set to NULL.

win_button_hA pointer to the object. If NULL, then this function is a no-op.

Definition at line 117 of file win_button_gen.c.

 All Classes Files Functions Variables Typedefs