Annotation of gnutrition/gui.h, revision 1.1

1.1     ! asm         1: // SPDX-License-Identifier: GPL-3.0-or-later
        !             2: /*
        !             3:  * $Id$
        !             4:  *
        !             5:  * gui.h - GTK 3 user interface for GNUtrition
        !             6:  *
        !             7:  * Copyright (C) 2026 Free Software Foundation, Inc.
        !             8:  *
        !             9:  * Author: Jason Self <jself@gnu.org>
        !            10:  */
        !            11: 
        !            12: #ifndef GUI_H
        !            13: #define GUI_H
        !            14: 
        !            15: #include <sqlite3.h>
        !            16: 
        !            17: /* Run the GTK 3 graphical interface.
        !            18:    FOOD_DB is the USDA food database; LOG_DB is the user's food log.
        !            19:    CALORIES is the initial daily calorie target.
        !            20:    ARGC and ARGV are passed to gtk_init.
        !            21:    Returns 0 on normal exit, -1 on error.  */
        !            22: int gui_run (sqlite3 *food_db, sqlite3 *log_db, int calories,
        !            23:              int argc, char **argv);
        !            24: 
        !            25: #endif /* GUI_H */

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>