2008-04-30 Cosimo Cecchi <cosimoc@gnome.org>
[nautilus.git] / src / nautilus-self-check-functions.h
blobfbefe7673b89c542541cd670bd5ac6ec45ce7af6
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
3 /*
4 * Nautilus
6 * Copyright (C) 1999, 2000 Eazel, Inc.
8 * Nautilus is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of the
11 * License, or (at your option) any later version.
13 * Nautilus is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 * Author: Darin Adler <darin@bentspoon.com>
25 /* nautilus-self-check-functions.h: Wrapper and prototypes for all self
26 * check functions in Nautilus proper.
30 void nautilus_run_self_checks (void);
32 /* Putting the prototypes for these self-check functions in each
33 header file for the files they are defined in would make compiling
34 the self-check framework take way too long (since one file would
35 have to include everything).
37 So we put the list of functions here instead.
39 Instead of just putting prototypes here, we put this macro that
40 can be used to do operations on the whole list of functions.
43 #define NAUTILUS_FOR_EACH_SELF_CHECK_FUNCTION(macro) \
44 /* Add new self-check functions to the list above this line. */
46 /* Generate prototypes for all the functions. */
47 NAUTILUS_FOR_EACH_SELF_CHECK_FUNCTION (NAUTILUS_SELF_CHECK_FUNCTION_PROTOTYPE)