Changeset 108
- Timestamp:
- 02/22/06 01:08:06
- Files:
-
- trunk/libtinymail-camel/tny-account-priv.h (modified) (1 diff)
- trunk/libtinymail-camel/tny-account.c (modified) (2 diffs)
- trunk/libtinymail-camel/tny-account.h (modified) (1 diff)
- trunk/libtinymail-camel/tny-camel-stream.c (modified) (4 diffs)
- trunk/libtinymail-camel/tny-camel-stream.h (modified) (1 diff)
- trunk/libtinymail-camel/tny-msg-folder-priv.h (modified) (1 diff)
- trunk/libtinymail-camel/tny-msg-folder.c (modified) (5 diffs)
- trunk/libtinymail-camel/tny-msg-folder.h (modified) (1 diff)
- trunk/libtinymail-camel/tny-msg-header-priv.h (modified) (1 diff)
- trunk/libtinymail-camel/tny-msg-header.c (modified) (3 diffs)
- trunk/libtinymail-camel/tny-msg-header.h (modified) (1 diff)
- trunk/libtinymail-camel/tny-msg-mime-part.c (modified) (2 diffs)
- trunk/libtinymail-camel/tny-msg-mime-part.h (modified) (1 diff)
- trunk/libtinymail-camel/tny-msg-priv.h (modified) (1 diff)
- trunk/libtinymail-camel/tny-msg.c (modified) (2 diffs)
- trunk/libtinymail-camel/tny-msg.h (modified) (1 diff)
- trunk/libtinymail-camel/tny-session-camel.c (modified) (4 diffs)
- trunk/libtinymail-camel/tny-session-camel.h (modified) (1 diff)
- trunk/libtinymail-camel/tny-stream-camel.c (modified) (3 diffs)
- trunk/libtinymail-camel/tny-stream-camel.h (modified) (1 diff)
- trunk/libtinymail-gnomevfs/tny-vfs-stream.c (modified) (3 diffs)
- trunk/libtinymail-gnomevfs/tny-vfs-stream.h (modified) (1 diff)
- trunk/libtinymail/tny-account-iface.c (modified) (13 diffs)
- trunk/libtinymail/tny-account-store-iface.c (modified) (7 diffs)
- trunk/libtinymail/tny-msg-folder-iface.c (modified) (2 diffs)
- trunk/libtinymail/tny-msg-header-iface.c (modified) (13 diffs)
- trunk/libtinymail/tny-msg-iface.c (modified) (7 diffs)
- trunk/libtinymail/tny-msg-mime-part-iface.c (modified) (10 diffs)
- trunk/libtinymail/tny-stream-iface.c (modified) (7 diffs)
- trunk/libtinymailui-gtk/tny-account-tree-model.c (modified) (3 diffs)
- trunk/libtinymailui-gtk/tny-account-tree-model.h (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-attach-list-model-priv.h (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-attach-list-model.c (modified) (4 diffs)
- trunk/libtinymailui-gtk/tny-attach-list-model.h (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-msg-header-list-model.c (modified) (4 diffs)
- trunk/libtinymailui-gtk/tny-msg-header-list-model.h (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-msg-view.c (modified) (2 diffs)
- trunk/libtinymailui-gtk/tny-msg-view.h (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-msg-window.c (modified) (2 diffs)
- trunk/libtinymailui-gtk/tny-msg-window.h (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-text-buffer-stream.c (modified) (3 diffs)
- trunk/libtinymailui-gtk/tny-text-buffer-stream.h (modified) (1 diff)
- trunk/libtinymailui/tny-msg-view-iface.c (modified) (2 diffs)
- trunk/libtinymailui/tny-msg-view-iface.h (modified) (1 diff)
- trunk/libtinymailui/tny-msg-window-iface.c (modified) (2 diffs)
- trunk/libtinymailui/tny-msg-window-iface.h (modified) (1 diff)
- trunk/libtinymailui/tny-summary-window-iface.c (modified) (2 diffs)
- trunk/libtinymailui/tny-summary-window-iface.h (modified) (1 diff)
- trunk/tinymail/tny-account-store.c (modified) (2 diffs)
- trunk/tinymail/tny-account-store.h (modified) (1 diff)
- trunk/tinymail/tny-main.c (modified) (2 diffs)
- trunk/tinymail/tny-password-dialog.c (modified) (4 diffs)
- trunk/tinymail/tny-password-dialog.h (modified) (1 diff)
- trunk/tinymail/tny-summary-window.c (modified) (2 diffs)
- trunk/tinymail/tny-summary-window.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libtinymail-camel/tny-account-priv.h
r52 r108 2 2 #define TNY_ACCOUNT_PRIV_H 3 3 4 /* libtinymail - The Tiny Mail base library4 /* libtinymail-camel - The Tiny Mail base library for Camel 5 5 * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org> 6 6 * trunk/libtinymail-camel/tny-account.c
r75 r108 1 /* libtinymail - The Tiny Mail base library1 /* libtinymail-camel - The Tiny Mail base library for Camel 2 2 * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org> 3 3 * … … 293 293 294 294 295 /** 296 * tny_account_new: 297 * 298 * 299 * Return value: A new #TnyAccountIface instance implemented for Camel 300 **/ 295 301 TnyAccount* 296 302 tny_account_new (void) trunk/libtinymail-camel/tny-account.h
r21 r108 2 2 #define TNY_ACCOUNT_H 3 3 4 /* libtinymail - The Tiny Mail base library4 /* libtinymail-camel - The Tiny Mail base library for Camel 5 5 * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org> 6 6 * trunk/libtinymail-camel/tny-camel-stream.c
r65 r108 1 /* libtinymail - The Tiny Mail base library1 /* libtinymail-camel - The Tiny Mail base library for Camel 2 2 * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org> 3 3 * … … 22 22 static CamelStreamClass *parent_class = NULL; 23 23 24 /** 25 * tny_camel_stream_write_to_stream: 26 * @self: a #TnyCamelStream object 27 * @output: a #TnyStreamIface object to write to 28 * 29 * Write self to output (copy it) in an efficient way 30 * 31 * Return value: the number of bytes written to the output stream, or -1 on 32 * error along with setting errno. 33 **/ 24 34 ssize_t 25 35 tny_camel_stream_write_to_stream (TnyCamelStream *self, TnyStreamIface *output) … … 159 169 } 160 170 171 /** 172 * tny_camel_stream_set_stream: 173 * @self: A #TnyCamelStream object 174 * @stream: A #TnyStreamIface object 175 * 176 * Set the stream to play proxy for 177 * 178 * Return value: 179 **/ 161 180 void 162 181 tny_camel_stream_set_stream (TnyCamelStream *self, TnyStreamIface *stream) … … 174 193 175 194 176 195 /** 196 * tny_camel_stream_new: 197 * @stream: A #TnyStreamIface stream to play proxy for 198 * 199 * Return value: A new #CamelStream instance implemented as a proxy 200 * for a #TnyStreamIface 201 **/ 177 202 TnyCamelStream * 178 203 tny_camel_stream_new (TnyStreamIface *stream) trunk/libtinymail-camel/tny-camel-stream.h
r65 r108 2 2 #define TNY_CAMEL_STREAM_H 3 3 4 /* libtinymail - The Tiny Mail base library4 /* libtinymail-camel - The Tiny Mail base library for Camel 5 5 * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org> 6 6 * trunk/libtinymail-camel/tny-msg-folder-priv.h
r84 r108 2 2 #define TNY_MSG_FOLDER_PRIV_H 3 3 4 /* libtinymail - The Tiny Mail base library4 /* libtinymail-camel - The Tiny Mail base library for Camel 5 5 * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org> 6 6 * trunk/libtinymail-camel/tny-msg-folder.c
r89 r108 1 /* libtinymail - The Tiny Mail base library1 /* libtinymail-camel - The Tiny Mail base library for Camel 2 2 * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org> 3 3 * … … 334 334 } 335 335 336 /** 337 * tny_msg_folder_set_folder: 338 * @self: A #TnyMsgFolder object 339 * @camel_folder: The #CamelFolder instance to play proxy for 340 * 341 * Return value: 342 **/ 336 343 void 337 344 tny_msg_folder_set_folder (TnyMsgFolder *self, CamelFolder *camel_folder) … … 349 356 } 350 357 358 /** 359 * tny_msg_folder_get_folder: 360 * @self: A #TnyMsgFolder object 361 * 362 * Return value: The CamelFolder instance to play proxy for 363 **/ 351 364 CamelFolder* 352 365 tny_msg_folder_get_folder (TnyMsgFolder *self) … … 357 370 } 358 371 359 372 /** 373 * tny_msg_folder_new_with_folder: 374 * @camel_folder: CamelFolder instance to play proxy for 375 * 376 * The #TnyMsgFolder implementation is actually a proxy for #CamelFolder 377 * 378 * Return value: A new #TnyMsgFolderIface instance implemented for Camel 379 **/ 360 380 TnyMsgFolder* 361 tny_msg_folder_new_with_folder (CamelFolder *camel_folder)381 tny_msg_folder_new_with_folder (CamelFolder *camel_folder) 362 382 { 363 383 TnyMsgFolder *self = g_object_new (TNY_MSG_FOLDER_TYPE, NULL); … … 370 390 371 391 372 392 /** 393 * tny_msg_folder_new: 394 * 395 * The #TnyMsgFolder implementation is actually a proxy for #CamelFolder. 396 * You need to set the #CamelFolder after using this constructor using 397 * tny_msg_folder_set_folder 398 * 399 * Return value: A new #TnyMsgFolderIface instance implemented for Camel 400 **/ 373 401 TnyMsgFolder* 374 402 tny_msg_folder_new (void) trunk/libtinymail-camel/tny-msg-folder.h
r1 r108 2 2 #define TNY_MSG_FOLDER_H 3 3 4 /* libtinymail - The Tiny Mail base library4 /* libtinymail-camel - The Tiny Mail base library for Camel 5 5 * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org> 6 6 * trunk/libtinymail-camel/tny-msg-header-priv.h
r87 r108 2 2 #define TNY_MSG_HEADER_PRIV_H 3 3 4 /* libtinymail - The Tiny Mail base library4 /* libtinymail-camel - The Tiny Mail base library for Camel 5 5 * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org> 6 6 * trunk/libtinymail-camel/tny-msg-header.c
r93 r108 1 /* libtinymail - The Tiny Mail base library1 /* libtinymail-camel - The Tiny Mail base library for Camel 2 2 * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org> 3 3 * … … 16 16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17 17 * Boston, MA 02111-1307, USA. 18 */19 20 21 /* The story of TnyMsgHeader, By Philip Van Hoof *22 *23 * TnyMsgHeader is a proxy for real subject CamelMessageInfo. The type doesn't24 * use a priv pointer, but in stead is an opaque structure. This is done for25 * decreasing the amount of allocations (a priv pointer is an unnecessary26 * allocation). Allocations are slow.27 *28 * The tree model is responsible for calling the uncache method whenever the29 * corresponding row becomes invisble.30 *31 * All kinds of dirty non-gobject-standard tricks have been applied to make this32 * type as fast as possible. Including modifying the TNY_MSG_ACCOUNT() macro and33 * removing the gobject type-check.34 *35 * It's possible this type sooner or later gets reimplemented without using36 * gobject at all. As at this moment, the full size of the GObject type is added37 * for no real reason.38 18 */ 39 19 … … 269 249 return; 270 250 } 251 252 /** 253 * tny_msg_header_new: 254 * 255 * The story of TnyMsgHeader, 256 * 257 * TnyMsgHeader is a proxy for real subject CamelMessageInfo. The type doesn't 258 * use a priv pointer, but in stead is an opaque structure. This is done for 259 * decreasing the amount of allocations (a priv pointer is an unnecessary 260 * allocation). Allocations are slow. 261 * 262 * A list model (like a tree model) is responsible for calling the uncache 263 * method whenever the corresponding row becomes invisble. 264 * 265 * All kinds of dirty non-gobject-standard tricks have been applied to make this 266 * type as fast as possible. Including modifying the TNY_MSG_ACCOUNT() macro and 267 * removing the gobject type-check. 268 * 269 * It's possible this type sooner or later gets reimplemented without using 270 * gobject at all. As at this moment, the full size of the GObject type is added 271 * for no real reason. 272 * 273 * Return value: A new #TnyMsgHeader instance implemented for Camel 274 **/ 275 271 276 272 277 TnyMsgHeader* trunk/libtinymail-camel/tny-msg-header.h
r88 r108 2 2 #define TNY_MSG_HEADER_H 3 3 4 /* libtinymail - The Tiny Mail base library4 /* libtinymail-camel - The Tiny Mail base library for Camel 5 5 * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org> 6 6 * trunk/libtinymail-camel/tny-msg-mime-part.c
r76 r108 1 /* libtinymail - The Tiny Mail base library1 /* libtinymail-camel - The Tiny Mail base library for Camel 2 2 * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org> 3 3 * … … 211 211 } 212 212 213 213 /** 214 * tny_msg_mime_part_new: 215 * 216 * The #TnyMsgMimePart implementation is actually a proxy for #CamelMimePart. 217 * 218 * Return value: A new #TnyMsgMimePartIface instance implemented for Camel 219 **/ 214 220 TnyMsgMimePart* 215 221 tny_msg_mime_part_new (CamelMimePart *part) trunk/libtinymail-camel/tny-msg-mime-part.h
r60 r108 2 2 #define TNY_MSG_MIME_PART_H 3 3 4 /* libtinymail - The Tiny Mail base library4 /* libtinymail-camel - The Tiny Mail base library for Camel 5 5 * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org> 6 6 * trunk/libtinymail-camel/tny-msg-priv.h
r60 r108 2 2 #define TNY_MSG_PRIV_H 3 3 4 /* libtinymail - The Tiny Mail base library4 /* libtinymail-camel - The Tiny Mail base library for Camel 5 5 * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org> 6 6 * trunk/libtinymail-camel/tny-msg.c
r107 r108 1 /* libtinymail - The Tiny Mail base library1 /* libtinymail-camel - The Tiny Mail base library for Camel 2 2 * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org> 3 3 * … … 199 199 } 200 200 201 201 /** 202 * tny_msg_new: 203 * 204 * The #TnyMsg implementation is actually a proxy for #CamelMimeMessage (and 205 * a few other Camel types) 206 * 207 * Return value: A new #TnyMsgIface instance implemented for Camel 208 **/ 202 209 TnyMsg* 203 210 tny_msg_new (void) trunk/libtinymail-camel/tny-msg.h
r60 r108 2 2 #define TNY_MSG_H 3 3 4 /* libtinymail - The Tiny Mail base library4 /* libtinymail-camel - The Tiny Mail base library for Camel 5 5 * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org> 6 6 * trunk/libtinymail-camel/tny-session-camel.c
r60 r108 1 /* libtinymail - The Tiny Mail base library1 /* libtinymail-camel - The Tiny Mail base library for Camel 2 2 * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org> 3 3 * … … 58 58 } PrivForgetPassFunc; 59 59 60 60 /** 61 * tny_session_camel_set_forget_pass_func: 62 * @self: a #TnySessionCamel object 63 * @account: the #TnyAccountIface account instance 64 * @forget_pass_func: The function that will forget the password for the account 65 * 66 * For each account you can set a password handler. This makes it possible to 67 * use your own password-store implementation for storing passwords. You set 68 * the handler that tells that store to forget the password, using this method. 69 * 70 * It's recommended to also memset (buffer, 0, len) the memory where the 71 * password was stored. You can do it in the forget_pass_func handler. 72 * 73 * Return value: 74 **/ 61 75 void 62 76 tny_session_camel_set_forget_pass_func (TnySessionCamel *self, TnyAccountIface *account, ForgetPassFunc get_forget_pass_func) … … 109 123 } 110 124 125 /** 126 * tny_session_camel_set_pass_func: 127 * @self: a #TnySessionCamel object 128 * @account: the #TnyAccountIface account instance 129 * @get_pass_func: The function that will return the password for the account 130 * 131 * For each account you can set a password handler. This makes it possible to 132 * use your own password-store implementation for storing passwords. You set 133 * that password handler method using this method. 134 * 135 * Return value: 136 **/ 111 137 void 112 138 tny_session_camel_set_pass_func (TnySessionCamel *self, TnyAccountIface *account, GetPassFunc get_pass_func) … … 378 404 static TnySessionCamel* the_singleton; 379 405 406 /** 407 * tny_session_camel_get_instance: 408 * 409 * 410 * Return value: The #TnySessionCamel singleton instance 411 **/ 380 412 TnySessionCamel* 381 413 tny_session_camel_get_instance (void) trunk/libtinymail-camel/tny-session-camel.h
r52 r108 2 2 #define TNY_SESSION_CAMEL_H 3 3 4 /* libtinymail - The Tiny Mail base library4 /* libtinymail-camel - The Tiny Mail base library for Camel 5 5 * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org> 6 6 * trunk/libtinymail-camel/tny-stream-camel.c
r52 r108 1 /* libtinymail - The Tiny Mail base library1 /* libtinymail-camel - The Tiny Mail base library for Camel 2 2 * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org> 3 3 * … … 131 131 } 132 132 133 /** 134 * tny_stream_camel_set_stream: 135 * @self: A #TnyStreamCamel object 136 * @stream: A #CamelStream object 137 * 138 * Set the stream to play proxy for 139 * 140 * Return value: 141 **/ 133 142 void 134 143 tny_stream_camel_set_stream (TnyStreamCamel *self, CamelStream *stream) … … 144 153 } 145 154 146 155 /** 156 * tny_stream_camel_new: 157 * @stream: A #CamelStream stream to play proxy for 158 * 159 * Return value: A new #TnyStreamCamel instance implemented as a proxy 160 * for a #CamelStream 161 **/ 147 162 TnyStreamCamel* 148 163 tny_stream_camel_new (CamelStream *stream) trunk/libtinymail-camel/tny-stream-camel.h
r52 r108 2 2 #define TNY_STREAM_CAMEL_H 3 3 4 /* libtinymail - The Tiny Mail base library4 /* libtinymail-camel - The Tiny Mail base library for Camel 5 5 * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org> 6 6 * trunk/libtinymail-gnomevfs/tny-vfs-stream.c
r100 r108 1 /* libtinymail - The Tiny Mail base library1 /* libtinymail-gnomevfs - The Tiny Mail base library for GnomeVFS 2 2 * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org> 3 3 * … … 320 320 */ 321 321 322 /** 323 * tny_vfs_stream_set_handle: 324 * @self: A #TnyVfsStream instance 325 * @handle: The #GnomeVFSHandle to write to or read from 326 * 327 * Set the #GnomeVFSHandle to play adaptor for 328 * 329 * Return value: 330 **/ 322 331 void 323 332 tny_vfs_stream_set_handle (TnyVfsStream *self, GnomeVFSHandle *handle) … … 333 342 } 334 343 335 344 /** 345 * tny_vfs_stream_new: 346 * @handle: The #GnomeVFSHandle to write to or read from 347 * 348 * Create an adaptor instance between #TnyStreamIface and #GnomeVFSHandle 349 * 350 * Return value: a new #TnyStreamIface instance 351 **/ 336 352 TnyVfsStream* 337 353 tny_vfs_stream_new (GnomeVFSHandle *handle) trunk/libtinymail-gnomevfs/tny-vfs-stream.h
r97 r108 2 2 #define TNY_VFS_STREAM_H 3 3 4 /* libtinymail - The Tiny Mail base library4 /* libtinymail-gnomevfs - The Tiny Mail base library for GnomeVFS 5 5 * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org> 6 6 * trunk/libtinymail/tny-account-iface.c
r46 r108 22 22 /** 23 23 * tny_account_iface_get_id: 24 * @self: a TnyAccountIface object24 * @self: a #TnyAccountIface object 25 25 * 26 26 * Get an unique id for the account. … … 36 36 /** 37 37 * tny_account_iface_set_id: 38 * @self: a TnyAccountIface object38 * @self: a #TnyAccountIface object 39 39 * 40 40 * Set the accounts unique id. … … 51 51 /** 52 52 * tny_account_iface_set_forget_pass_func: 53 * @self: a TnyAccountIface object53 * @self: a #TnyAccountIface object 54 54 * 55 55 * Set the password that will be called when the password is no longer needed. … … 70 70 /** 71 71 * tny_account_iface_get_forget_pass_func: 72 * @self: a TnyAccountIface object72 * @self: a #TnyAccountIface object 73 73 * 74 74 * … … 84 84 /** 85 85 * tny_account_iface_get_folders: 86 * @self: a TnyAccountIface object86 * @self: a #TnyAccountIface object 87 87 * 88 88 * Get the folders of an account … … 98 98 /** 99 99 * tny_account_iface_set_proto: 100 * @self: a TnyAccountIface object100 * @self: a #TnyAccountIface object 101 101 * @proto: the protocol (ex. "imap") 102 102 * … … 114 114 /** 115 115 * tny_account_iface_set_user: 116 * @self: a TnyAccountIface object116 * @self: a #TnyAccountIface object 117 117 * @user: the username 118 118 * … … 130 130 /** 131 131 * tny_account_iface_set_hostname: 132 * @self: a TnyAccountIface object132 * @self: a #TnyAccountIface object 133 133 * @host: the hostname 134 134 * … … 146 146 /** 147 147 * tny_account_iface_set_pass_func: 148 * @self: a TnyAccountIface object148 * @self: a #TnyAccountIface object 149 149 * @get_pass_func: a pointer to the function 150 150 * … … 163 163 /** 164 164 * tny_account_iface_get_proto: 165 * @self: a TnyAccountIface object165 * @self: a #TnyAccountIface object 166 166 * 167 167 * Get the protocol of an account … … 177 177 /** 178 178 * tny_account_iface_get_user: 179 * @self: a TnyAccountIface object179 * @self: a #TnyAccountIface object 180 180 * 181 181 * Get the user or login of an account … … 191 191 /** 192 192 * tny_account_iface_get_hostname: 193 * @self: a TnyAccountIface object193 * @self: a #TnyAccountIface object 194 194 * 195 195 * Get the hostname of an account … … 205 205 /** 206 206 * tny_account_iface_get_pass_func: 207 * @self: a TnyAccountIface object207 * @self: a #TnyAccountIface object 208 208 * 209 209 * trunk/libtinymail/tny-account-store-iface.c
r46 r108 18 18 */ 19 19 20 #include <tny-account-iface.h> 21 20 22 #ifndef TNY_ACCOUNT_STORE_IFACE_C 21 23 #define TNY_ACCOUNT_STORE_IFACE_C … … 32 34 /** 33 35 * tny_account_store_iface_get_accounts: 34 * @self: a TnyAccountStoreIface object36 * @self: a #TnyAccountStoreIface object 35 37 * 36 38 * Get a read-only list of accounts in the store … … 46 48 /** 47 49 * tny_account_store_iface_add_account: 48 * @self: a TnyAccountStoreIface object50 * @self: a #TnyAccountStoreIface object 49 51 * @account: the account to add 50 52 * … … 71 73 tny_account_store_iface_signals = g_new0 (guint, TNY_ACCOUNT_STORE_IFACE_LAST_SIGNAL); 72 74 75 /** 76 * TnyAccountStoreIface::account_changed: 77 * @self: the object on which the signal is emitted 78 * @account: the #TnyAccountIface of the account that changed 79 * 80 * The "account_changed" signal is emitted when an account in the store changed 81 **/ 73 82 tny_account_store_iface_signals[ACCOUNT_CHANGED] = 74 83 g_signal_new ("account_changed", … … 78 87 NULL, NULL, 79 88 g_cclosure_marshal_VOID__POINTER, 80 G_TYPE_NONE, 1, TNY_ACCOUNT_STORE_IFACE_TYPE); 89 G_TYPE_NONE, 1, TNY_ACCOUNT_IFACE_TYPE); 90 91 /** 92 * TnyAccountStoreIface::account_inserted: 93 * @self: the object on which the signal is emitted 94 * @account: the #TnyAccountIface of the account that got inserted 95 * 96 * The "account_inserted" signal is emitted when an account is added to the 97 * store 98 **/ 99 81 100 82 101 tny_account_store_iface_signals[ACCOUNT_INSERTED] = … … 87 106 NULL, NULL, 88 107 g_cclosure_marshal_VOID__POINTER, 89 G_TYPE_NONE, 1, TNY_ACCOUNT_ STORE_IFACE_TYPE);108 G_TYPE_NONE, 1, TNY_ACCOUNT_IFACE_TYPE); 90 109 110 /** 111 * TnyAccountStoreIface::account_removed: 112 * @self: the object on which the signal is emitted 113 * @account: the #TnyAccountIface of the account that got removed 114 * 115 * The "account_removed" signal is emitted when an account is removed from the 116 * store 117 **/ 91 118 tny_account_store_iface_signals[ACCOUNT_REMOVED] = 92 119 g_signal_new ("account_removed", … … 96 123 NULL, NULL, 97 124 g_cclosure_marshal_VOID__POINTER, 98 G_TYPE_NONE, 1, TNY_ACCOUNT_ STORE_IFACE_TYPE);125 G_TYPE_NONE, 1, TNY_ACCOUNT_IFACE_TYPE); 99 126 127 /** 128 * TnyAccountStoreIface::accounts_reloaded: 129 * @self: the object on which the signal is emitted 130 * 131 * The "accounts_reloaded" signal is emitted when the store reloaded the 132 * accounts 133 **/ 100 134 tny_account_store_iface_signals[ACCOUNTS_RELOADED] = 101 135 g_signal_new ("accounts_reloaded", trunk/libtinymail/tny-msg-folder-iface.c
r84 r108 237 237 tny_msg_folder_iface_signals = g_new0 (guint, TNY_MSG_FOLDER_IFACE_LAST_SIGNAL); 238 238 239 /** 240 * TnyMsgFolderIface::folder_inserted: 241 * @self: the object on which the signal is emitted 242 * @folder: the #TnyMsgFolderIface as the added folder 243 * 244 * The "folder_inserted" signal is emitted when a folder got added to 245 * the folder 246 **/ 239 247 tny_msg_folder_iface_signals[FOLDER_INSERTED] = 240 248 g_signal_new ("folder_inserted", … … 246 254 G_TYPE_NONE, 1, TNY_MSG_FOLDER_IFACE_TYPE); 247 255 256 /** 257 * TnyMsgFolderIface::folders_reloaded: 258 * @self: the object on which the signal is emitted 259 * 260 * The "folders_reloaded" signal is emitted when the folder got 261 * reloaded. 262 **/ 248 263 tny_msg_folder_iface_signals[FOLDERS_RELOADED] = 249 264 g_signal_new ("folders_reloaded", trunk/libtinymail/tny-msg-header-iface.c
r76 r108 24 24 /** 25 25 * tny_msg_header_iface_get_cc: 26 * @self: a TnyMsgHeaderIface object26 * @self: a #TnyMsgHeaderIface object 27 27 * 28 28 * … … 39 39 /** 40 40 * tny_msg_header_iface_get_date_received: 41 * @self: a TnyMsgHeaderIface object41 * @self: a #TnyMsgHeaderIface object 42 42 * 43 43 * … … 53 53 /** 54 54 * tny_msg_header_iface_get_date_sent: 55 * @self: a TnyMsgHeaderIface object55 * @self: a #TnyMsgHeaderIface object 56 56 * 57 57 * … … 68 68 /** 69 69 * tny_msg_header_iface_get_id: 70 * @self: a TnyMsgHeaderIface object70 * @self: a #TnyMsgHeaderIface object 71 71 * 72 72 * Get an unique id of the message of which self is a message header. … … 82 82 /** 83 83 * tny_msg_header_iface_get_message_id: 84 * @self: a TnyMsgHeaderIface object84 * @self: a #TnyMsgHeaderIface object 85 85 * 86 86 * Get an unique id of the message of which self is a message header. … … 96 96 /** 97 97 * tny_msg_header_iface_get_from: 98 * @self: a TnyMsgHeaderIface object98 * @self: a #TnyMsgHeaderIface object 99 99 * 100 100 * Get the from header … … 110 110 /** 111 111 * tny_msg_header_iface_get_subject: 112 * @self: a TnyMsgHeaderIface object112 * @self: a #TnyMsgHeaderIface object 113 113 * 114 114 * Get the subject header … … 125 125 /** 126 126 * tny_msg_header_iface_get_to: 127 * @self: a TnyMsgHeaderIface object127 * @self: a #TnyMsgHeaderIface object 128 128 * 129 129 * Get the to header … … 139 139 /** 140 140 * tny_msg_header_iface_get_folder: 141 * @self: a TnyMsgHeaderIface object141 * @self: a #TnyMsgHeaderIface object 142 142 * 143 143 * Get a reference to the parent folder where this message header is located … … 154 154 /** 155 155 * tny_msg_header_iface_set_folder: 156 * @self: a TnyMsgHeaderIface object156 * @self: a #TnyMsgHeaderIface object 157 157 * 158 158 * Set the reference to the parent folder where this message header is located … … 169 169 /** 170 170 * tny_msg_header_iface_set_message_id: 171 * @self: a TnyMsgHeaderIface object171 * @self: a #TnyMsgHeaderIface object 172 172 * @id: an unique follow-up uid 173 173 * … … 185 185 /** 186 186 * tny_msg_header_iface_uncache: 187 * @self: a TnyMsgHeaderIface object187 * @self: a #TnyMsgHeaderIface object 188 188 * 189 189 * If it's possible to uncache this instance, uncache it … … 201 201 /** 202 202 * tny_msg_header_iface_has_cache: 203 * @self: a TnyMsgHeaderIface object203 * @self: a #TnyMsgHeaderIface object 204 204 * 205 205 * If it's possible to uncache this instance, return whether or not it has a cache trunk/libtinymail/tny-msg-iface.c
r60 r108 23 23 /** 24 24 * tny_msg_iface_get_folder: 25 * @self: a TnyMsgIface object25 * @self: a #TnyMsgIface object 26 26 * 27 27 * Get the parent folder of this message … … 37 37 /** 38 38 * tny_msg_iface_set_folder: 39 * @self: a TnyMsgIface object39 * @self: a #TnyMsgIface object 40 40 * @folder: The parent folder 41 41 * 42 42 * Set the parent folder of this message 43 * * TODO: Make this private * 43 * 44 * * TODO: Make this private, or make it possible to move messages this way * 44 45 * 45 46 * Return value: Set parent folder of this message … … 55 56 /** 56 57 * tny_msg_iface_get_parts: 57 * @self: a TnyMsgIface object58 * @self: a #TnyMsgIface object 58 59 * 59 60 * Get a read-only list of mime-parts of this message 60 61 * 61 * Return value: A read-only GList with TnyMsgMimePartIface instances62 * Return value: A read-only GList with #TnyMsgMimePartIface instances 62 63 **/ 63 64 const GList* … … 71 72 /** 72 73 * tny_msg_iface_get_header: 73 * @self: a TnyMsgIface object74 * @self: a #TnyMsgIface object 74 75 * 75 76 * Get the header of the message … … 86 87 /** 87 88 * tny_msg_iface_add_part: 88 * @self: a TnyMsgIface object89 * @self: a #TnyMsgIface object 89 90 * @part: the mime-part to add 90 91 * … … 101 102 /** 102 103 * tny_msg_iface_del_part: 103 * @self: a TnyMsgIface object104 * @self: a #TnyMsgIface object 104 105 * @id: the mime-part id to delete 105 106 * … … 118 119 /** 119 120 * tny_msg_iface_set_header: 120 * @self: a TnyMsgIface object121 * @self: a #TnyMsgIface object 121 122 * @header: the header to set 122 123 * trunk/libtinymail/tny-msg-mime-part-iface.c
r76 r108 21 21 22 22 23 /** 24
