| 26 #ifndef _PIDGINPOUNCE_H_ |
26 #ifndef _PIDGINPOUNCE_H_ |
| 27 #define _PIDGINPOUNCE_H_ |
27 #define _PIDGINPOUNCE_H_ |
| 28 |
28 |
| 29 #include "pounce.h" |
29 #include "pounce.h" |
| 30 |
30 |
| 31 #ifndef PURPLE_DISABLE_DEPRECATED |
|
| 32 /** |
31 /** |
| 33 * Displays a New Buddy Pounce or Edit Buddy Pounce dialog. |
32 * Displays a New Buddy Pounce or Edit Buddy Pounce dialog. |
| 34 * |
33 * |
| 35 * @param account The optional account to use. |
34 * @param account The optional account to use. |
| 36 * @param name The optional name to pounce on. |
35 * @param name The optional name to pounce on. |
| 37 * @param cur_pounce The current buddy pounce, if editing an existing one. |
36 * @param cur_pounce The current buddy pounce, if editing an existing one. |
| 38 * |
|
| 39 * @deprecated Use pidgin_pounce_editor_show_with_parent() instead. |
|
| 40 */ |
37 */ |
| 41 void pidgin_pounce_editor_show(PurpleAccount *account, const char *name, |
38 void pidgin_pounce_editor_show(PurpleAccount *account, const char *name, |
| 42 PurplePounce *cur_pounce); |
39 PurplePounce *cur_pounce); |
| 43 #endif |
|
| 44 |
|
| 45 /** |
|
| 46 * Displays a New Buddy Pounce or Edit Buddy Pounce dialog. |
|
| 47 * |
|
| 48 * @param parent The parent window. |
|
| 49 * @param account The optional account to use. |
|
| 50 * @param name The optional name to pounce on. |
|
| 51 * @param cur_pounce The current buddy pounce, if editing an existing one. |
|
| 52 * |
|
| 53 * @since 2.3.0 |
|
| 54 */ |
|
| 55 void pidgin_pounce_editor_show_with_parent(GtkWindow *parent, PurpleAccount *account, const char *name, |
|
| 56 PurplePounce *cur_pounce); |
|
| 57 |
|
| 58 #ifndef PURPLE_DISABLE_DEPRECATED |
|
| 59 /** |
|
| 60 * Shows the pounces manager window. |
|
| 61 * |
|
| 62 * @deprecated Use pidgin_pounces_manager_show_with_parent() instead. |
|
| 63 */ |
|
| 64 void pidgin_pounces_manager_show(void); |
|
| 65 #endif |
|
| 66 |
40 |
| 67 /** |
41 /** |
| 68 * Shows the pounces manager window. |
42 * Shows the pounces manager window. |
| 69 * |
|
| 70 * @since 2.3.0 |
|
| 71 */ |
43 */ |
| 72 void pidgin_pounces_manager_show_with_parent(GtkWindow *parent); |
44 void pidgin_pounces_manager_show(void); |
| 73 |
45 |
| 74 /** |
46 /** |
| 75 * Hides the pounces manager window. |
47 * Hides the pounces manager window. |
| 76 */ |
48 */ |
| 77 void pidgin_pounces_manager_hide(void); |
49 void pidgin_pounces_manager_hide(void); |