Replace deprecated g_string_sprintf by g_string_printf
[gmidimonitor.git] / common.h
blob28a9967f8d2da29d3bb9c96bbd5d70f575639839
1 /* -*- Mode: C ; c-basic-offset: 2 -*- */
2 /*****************************************************************************
4 * This file is part of gmidimonitor
6 * Copyright (C) 2007,2008,2011 Nedko Arnaudov <nedko@arnaudov.name>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; version 2 of the License
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
21 *****************************************************************************/
23 #ifndef COMMON_H__FAD1EC6A_8ACC_483A_BB32_DDBE32B95B42__INCLUDED
24 #define COMMON_H__FAD1EC6A_8ACC_483A_BB32_DDBE32B95B42__INCLUDED
26 extern const char * g_note_names[12];
28 extern GtkWidget * g_main_window_ptr;
30 extern gboolean g_midi_ignore;
32 extern int g_row_count;
34 #define MAX_LIST_SIZE 2000
36 #define COL_TIME 0
37 #define COL_CHANNEL 1
38 #define COL_MESSAGE 2
39 #define NUM_COLS 3
41 #endif /* #ifndef COMMON_H__FAD1EC6A_8ACC_483A_BB32_DDBE32B95B42__INCLUDED */