comparison libpurple/log.h @ 16055:4f286fc9cdff

"delete" is a reserved word in C++, rename the "delete" member of PurpleLogLogger struct to "remove"
author Stu Tomlinson <stu@nosnilmot.com>
date Wed, 11 Apr 2007 12:02:45 +0000
parents 32c366eeeb99
children 516f14bef90e
comparison
equal deleted inserted replaced
16054:d696a7efd94c 16055:4f286fc9cdff
103 * Loggers which implement this function must create a PurpleLogSet, 103 * Loggers which implement this function must create a PurpleLogSet,
104 * then call @a cb with @a sets and the newly created PurpleLogSet. */ 104 * then call @a cb with @a sets and the newly created PurpleLogSet. */
105 void (*get_log_sets)(PurpleLogSetCallback cb, GHashTable *sets); 105 void (*get_log_sets)(PurpleLogSetCallback cb, GHashTable *sets);
106 106
107 /* Attempts to delete the specified log, indicating success or failure */ 107 /* Attempts to delete the specified log, indicating success or failure */
108 gboolean (*delete)(PurpleLog *log); 108 gboolean (*remove)(PurpleLog *log);
109 109
110 /* Tests whether a log is deletable */ 110 /* Tests whether a log is deletable */
111 gboolean (*is_deletable)(PurpleLog *log); 111 gboolean (*is_deletable)(PurpleLog *log);
112 }; 112 };
113 113
470 * @param name The logger's name. 470 * @param name The logger's name.
471 * @param functions The number of functions being passed. The following 471 * @param functions The number of functions being passed. The following
472 * functions are currently available (in order): @c create, 472 * functions are currently available (in order): @c create,
473 * @c write, @c finalize, @c list, @c read, @c size, 473 * @c write, @c finalize, @c list, @c read, @c size,
474 * @c total_size, @c list_syslog, @c get_log_sets, 474 * @c total_size, @c list_syslog, @c get_log_sets,
475 * @c delete, @c is_deletable. 475 * @c remove, @c is_deletable.
476 * For details on these functions, see PurpleLogLogger. 476 * For details on these functions, see PurpleLogLogger.
477 * Functions may not be skipped. For example, passing 477 * Functions may not be skipped. For example, passing
478 * @c create and @c write is acceptable (for a total of 478 * @c create and @c write is acceptable (for a total of
479 * two functions). Passing @c create and @c finalize, 479 * two functions). Passing @c create and @c finalize,
480 * however, is not. To accomplish that, the caller must 480 * however, is not. To accomplish that, the caller must