/**
 * @author Jefferson González
 * 
 * @license 
 * This file is part of wxPHP check the LICENSE file for information.
 * 
 * @description
 * Functions to assist on the generation of the wxWidgets classes
 * declarations header file (classes.h)
 * 
*/
function class_constructors_declaration($class_name, $class_methods)
{
    $constructors = "";
    foreach ($class_methods[$class_name] as $constructor_definition) {
        $constructors .= "{$class_name}_php(";
        $constructors .= function_arguments_string($constructor_definition);
        $constructors .= ")";
        if (!isset($constructor_definition["no_parent_call"])) {
            $constructors .= ":{$class_name}(";
            $constructors .= function_arguments_call_string($constructor_definition);
            $constructors .= ")";
        }
        $constructors .= "{}\n\t";
    }
    return $constructors;
}
        ?>
	return <?php 
        echo $class_name;
        ?>
::<?php 
        echo $method_name;
        ?>
(<?php 
        echo function_arguments_call_string($method_definition);
        ?>
);
<?php 
    } else {
        ?>
	<?php 
        echo $class_name;
        ?>
::<?php 
        echo $method_name;
        ?>
(<?php 
        echo function_arguments_call_string($method_definition);
        ?>
);
<?php 
    }
}
?>
}
<?php 
echo proto_end();