conf.h
来自「lrc 歌词解析和实时显示源码, 是开发 mp3, 播放器的很好的模块」· C头文件 代码 · 共 42 行
H
42 行
/* XLyrics by xiaosuo <xiaosuo1@eyou.com> * Homepage gentux.blogchina.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */#ifndef _CONF_H_#define _CONF_H_typedefstruct ConfItem{ gchar *index; gchar *value;} ConfItem;extern gboolean init_config(gchar *config_name);extern gboolean update_config(gchar *config_name);GSList* read_config(gchar *config_name);gboolean write_config(gchar *config_name, GSList *config_list);gboolean free_config(GSList *config_list);gboolean get_config_str(GSList *config_list, gchar* index, gchar* value);gboolean get_config_int(GSList *config_list, gchar* index, gint* value);gboolean set_config_str(GSList** config_list, gchar* index, gchar* value);gboolean set_config_int(GSList** config_list, gchar* index, gint* value);GtkWidget* about(void);GtkWidget* interface(void);GtkWidget* common(void);void config(GtkWidget *widget, gpointer layer);#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?