#ifndef CUP_H #define CUP_H #include "bygfoot.h" #include "cup_struct.h" Cup cup_new(void); gint cup_new_id(void); CupChooseTeam cup_choose_team_new(void); CupRound cup_round_new(void); void cup_load_choose_teams(Cup *cup); void cup_load_choose_team_user(Cup *cup); void cup_choose_team_abort(const Cup *cup, const CupChooseTeam *choose_team, gboolean user); GPtrArray* cup_get_team_pointers(const Cup *cup); gint cup_get_first_week_of_cup_round(const Cup *cup, gint cup_round); gint cup_get_matchdays_in_cup_round(const Cup *cup, gint cup_round); gint cup_round_get_number_of_teams(const Cup *cup, gint cup_round); #endif