Wed, 21 Mar 2007 09:00:54 +0000
Re-sed the copyright notices so they don't all talk about Purple.
| 12246 | 1 | /** |
| 2 | * @file gtksession.h X Windows session management API | |
| 3 | * @ingroup gtkui | |
| 4 | * | |
|
15931
716b5fac1895
Re-sed the copyright notices so they don't all talk about Purple.
Richard Laager <rlaager@pidgin.im>
parents:
15884
diff
changeset
|
5 | * pidgin |
| 12246 | 6 | * |
| 15572 | 7 | * Pidgin is the legal property of its developers, whose names are too numerous |
| 12246 | 8 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 9 | * source distribution. | |
| 10 | * | |
| 11 | * This program is free software; you can redistribute it and/or modify | |
| 12 | * it under the terms of the GNU General Public License as published by | |
| 13 | * the Free Software Foundation; either version 2 of the License, or | |
| 14 | * (at your option) any later version. | |
| 15 | * | |
| 16 | * This program is distributed in the hope that it will be useful, | |
| 17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 19 | * GNU General Public License for more details. | |
| 20 | * | |
| 21 | * You should have received a copy of the GNU General Public License | |
| 22 | * along with this program; if not, write to the Free Software | |
| 23 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 24 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15435
diff
changeset
|
25 | #ifndef _PIDGINSESSION_H_ |
|
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15435
diff
changeset
|
26 | #define _PIDGINSESSION_H_ |
| 12246 | 27 | |
| 28 | /**************************************************************************/ | |
| 29 | /** @name X Windows session subsystem */ | |
| 30 | /**************************************************************************/ | |
| 31 | /*@{*/ | |
| 32 | ||
| 33 | /** | |
| 15572 | 34 | * Register this instance of Pidgin with the user's current session |
|
12247
293f649a1693
[gaim-migrate @ 14549]
Mark Doliner <markdoliner@pidgin.im>
parents:
12246
diff
changeset
|
35 | * manager. |
|
293f649a1693
[gaim-migrate @ 14549]
Mark Doliner <markdoliner@pidgin.im>
parents:
12246
diff
changeset
|
36 | * |
|
293f649a1693
[gaim-migrate @ 14549]
Mark Doliner <markdoliner@pidgin.im>
parents:
12246
diff
changeset
|
37 | * @param argv0 The first argument passed into the program. This |
| 15884 | 38 | * will be the name of the executable, e.g. 'purple' |
|
12247
293f649a1693
[gaim-migrate @ 14549]
Mark Doliner <markdoliner@pidgin.im>
parents:
12246
diff
changeset
|
39 | * @param previous_id An optional session ID to use. This can be NULL. |
|
293f649a1693
[gaim-migrate @ 14549]
Mark Doliner <markdoliner@pidgin.im>
parents:
12246
diff
changeset
|
40 | * @param config_dir The path to the configuration directory used by |
| 15884 | 41 | * this instance of this program, e.g. '/home/user/.purple' |
| 12246 | 42 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15435
diff
changeset
|
43 | void pidgin_session_init(gchar *argv0, gchar *previous_id, gchar *config_dir); |
| 12246 | 44 | |
| 45 | /** | |
| 15572 | 46 | * Unregister this instance of Pidgin with the user's current session |
|
12247
293f649a1693
[gaim-migrate @ 14549]
Mark Doliner <markdoliner@pidgin.im>
parents:
12246
diff
changeset
|
47 | * manager. |
| 12246 | 48 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15435
diff
changeset
|
49 | void pidgin_session_end(void); |
| 12246 | 50 | |
| 51 | /*@}*/ | |
| 52 | ||
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15435
diff
changeset
|
53 | #endif /* _PIDGINSESSION_H_ */ |