Typedefs | Functions
gen/win_button_gen.h File Reference
#include "button_gen.h"

Go to the source code of this file.

Typedefs

typedef struct win_button_st_win_button_handle

Functions

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

Detailed Description

Author:
Matt Miller <matt@matthewmiller.net>

LICENSE

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 <http://www.gnu.org/licenses/>.

DESCRIPTION

This includes the APIs for casting to interfaces the win_button class implements and its opaque handle. This file should be included in the public header file for the win_button class.

Definition in file win_button_gen.h.


Typedef Documentation

Opaque pointer to reference instances of this class

Definition at line 32 of file win_button_gen.h.


Function Documentation

button_handle win_button_cast_to_button ( win_button_handle  win_button_h)

Cast the win_button object to button.

Parameters:
win_button_hThe win_button object
Returns:
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.

Parameters:
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