Replace deprecated g_string_sprintf by g_string_printf
[gmidimonitor.git] / path.h
blob78a2a4beef9518d32d60b32234cd5b252c74483d
1 /* -*- Mode: C ; c-basic-offset: 2 -*- */
2 /*****************************************************************************
4 * Access to project specific data files.
6 * This file is part of gmidimonitor
8 * Copyright (C) 2005,2006,2007,2008,2011 Nedko Arnaudov <nedko@arnaudov.name>
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; version 2 of the License
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
23 *****************************************************************************/
25 #ifndef PATH_H__6A0C8189_7048_457D_9081_B0F76AD4B93C__INCLUDED
26 #define PATH_H__6A0C8189_7048_457D_9081_B0F76AD4B93C__INCLUDED
28 void
29 path_init(const char * argv0);
31 /* g_free the return value if it is not NULL */
32 gchar *
33 path_get_data_filename(const gchar * filename);
35 void
36 path_uninit();
38 #endif /* #ifndef PATH_H__6A0C8189_7048_457D_9081_B0F76AD4B93C__INCLUDED */