// SPDX-License-Identifier: GPL-3.0-or-later /* * $Id: gui.h,v 1.1 2026/05/08 03:23:59 asm Exp $ * * gui.h - GTK 3 user interface for GNUtrition * * Copyright (C) 2026 Free Software Foundation, Inc. * * Author: Jason Self */ #ifndef GUI_H #define GUI_H #include /* Run the GTK 3 graphical interface. FOOD_DB is the USDA food database; LOG_DB is the user's food log. CALORIES is the initial daily calorie target. ARGC and ARGV are passed to gtk_init. Returns 0 on normal exit, -1 on error. */ int gui_run (sqlite3 *food_db, sqlite3 *log_db, int calories, int argc, char **argv); #endif /* GUI_H */