| 1 /* |
|
| 2 * finch |
|
| 3 * |
|
| 4 * Finch is the legal property of its developers, whose names are too numerous |
|
| 5 * to list here. Please refer to the COPYRIGHT file distributed with this |
|
| 6 * source distribution. |
|
| 7 * |
|
| 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; either version 2 of the License, or |
|
| 11 * (at your option) any later version. |
|
| 12 * |
|
| 13 * This program 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 |
|
| 16 * GNU General Public License for more details. |
|
| 17 * |
|
| 18 * You should have received a copy of the GNU General Public License |
|
| 19 * along with this program; if not, see <https://www.gnu.org/licenses/>. |
|
| 20 */ |
|
| 21 |
|
| 22 #if !defined(FINCH_GLOBAL_HEADER_INSIDE) && !defined(FINCH_COMPILATION) |
|
| 23 # error "only <finch.h> may be included directly" |
|
| 24 #endif |
|
| 25 |
|
| 26 #ifndef LIBFINCH_H |
|
| 27 #define LIBFINCH_H |
|
| 28 |
|
| 29 #include <glib.h> |
|
| 30 |
|
| 31 #define FINCH_UI "gnt-purple" |
|
| 32 |
|
| 33 #define FINCH_PREFS_ROOT "/finch" |
|
| 34 |
|
| 35 G_BEGIN_DECLS |
|
| 36 |
|
| 37 /** |
|
| 38 * finch_start: |
|
| 39 * @argc: Address of the argc parameter of your main() function (or 0 if argv |
|
| 40 * is %NULL). This will be changed if any arguments were handled. |
|
| 41 * @argv: Address of the argv parameter of main(), or %NULL. Any options |
|
| 42 * understood by Finch are stripped before return. |
|
| 43 * |
|
| 44 * Start finch with the given command line arguments. |
|
| 45 */ |
|
| 46 gboolean finch_start(int *argc, char ***argv); |
|
| 47 |
|
| 48 G_END_DECLS |
|
| 49 |
|
| 50 #endif /* LIBFINCH_H */ |
|