File: mod-cfg.h

package info (click to toggle)
gpredict 2.3-72-gc596101-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 12,264 kB
  • sloc: ansic: 39,918; makefile: 469; python: 143; sh: 85
file content (18 lines) | stat: -rw-r--r-- 451 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef MOD_CFG_H
#define MOD_CFG_H 1

#include <glib.h>

typedef enum {
    MOD_CFG_OK = 0,
    MOD_CFG_CANCEL,
    MOD_CFG_ERROR
} mod_cfg_status_t;

gchar          *mod_cfg_new(void);
mod_cfg_status_t mod_cfg_edit(gchar * modname, GKeyFile * cfgdata,
                              GtkWidget * toplevel);
mod_cfg_status_t mod_cfg_save(gchar * modname, GKeyFile * cfgdata);
mod_cfg_status_t mod_cfg_delete(gchar * modname, gboolean needcfm);

#endif