Beispiel #1
0
int main(int arg,char **argv) {

  Field* f;
  Field* field;
  Field* toSearch;
  Head* opens = get_new_head();
  Head* closed = get_new_head();
  f = create_from_file("input_files/input_1.txt");
  search_solution(f); 

  return 0;
}
ChipCapacitiesDialog*
ChipCapacitiesDialog::create()
{
	ChipCapacitiesDialog* dialog = 0;
	std::string filename(builder_capacities_dialog_filename);

	Glib::RefPtr<Gtk::Builder> builder = create_from_file(filename);

	if (builder)
		//Get the GtkBuilder-instantiated dialog
		builder->get_widget_derived( "dialog-window", dialog);

	return dialog;
}
LiningAdjustmentDialog*
LiningAdjustmentDialog::create()
{
	LiningAdjustmentDialog* dialog = 0;
	std::string filename(builder_lining_adjustment_dialog_filename);

	Glib::RefPtr<Gtk::Builder> builder = create_from_file(filename);

	if (builder)
		//Get the GtkBuilder-instantiated dialog
		builder->get_widget_derived( "dialog-window", dialog);

	return dialog;
}