📄 build_store.h
字号:
/* -*- linux-c -*- Copyright (C) 2004 Tom Szilagyi 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. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. $Id: build_store.h,v 1.13 2006/09/14 12:54:34 peterszilagyi Exp $*/#ifndef _BUILD_STORE_H#define _BUILD_STORE_H#ifdef __cplusplusextern "C" {#endif#define BUILD_THREAD_BUSY 0#define BUILD_THREAD_FREE 1/* Please update when we reach the 22nd century. */#define YEAR_MIN 1900#define YEAR_MAX 2100typedef struct _map_t { char str[MAXLEN]; int count; struct _map_t * next;} map_t;void map_put(map_t ** map, char * str);char * map_get_max(map_t * map);void map_free(map_t * map);typedef struct _build_track_t { char filename[MAXLEN]; char d_name[MAXLEN]; char name[MAXLEN]; char comment[MAXLEN]; float duration; float rva; int valid; struct _build_track_t * next;} build_track_t;typedef struct _build_record_t { char artist[MAXLEN]; char artist_d_name[MAXLEN]; char record[MAXLEN]; char year[MAXLEN]; char record_comment[MAXLEN]; char artist_sort_name[MAXLEN]; char record_sort_name[MAXLEN]; int artist_valid; int record_valid; int year_valid; build_track_t * tracks;} build_record_t;int is_valid_year(long y);int is_all_wspace(char * str);void build_artist(GtkTreeIter artist_iter);void build_store(GtkTreeIter store_iter);#ifdef __cplusplus} /* extern "C" */#endif#endif /* _BUILD_STORE_H */// vim: shiftwidth=8:tabstop=8:softtabstop=8 :
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -