1 #ifndef GMOCK_GNC_PREFS_H 2 #define GMOCK_GNC_PREFS_H 4 #include <gmock/gmock.h> 13 MOCK_METHOD2(get_bool, gboolean(
const gchar *,
const gchar *));
14 MOCK_METHOD2(get_int, gint(
const gchar *,
const gchar *));
15 MOCK_METHOD2(get_int64, gint64(
const gchar *,
const gchar *));
16 MOCK_METHOD2(get_float, gdouble(
const gchar *,
const gchar *));
17 MOCK_METHOD2(get_string, gchar*(
const gchar *,
const gchar *));
18 MOCK_METHOD2(get_enum, gint(
const gchar *,
const gchar *));
19 MOCK_METHOD4(get_coords,
void(
const gchar *,
const gchar *, gdouble *, gdouble *));
Generic api to store and retrieve preferences.