/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- * * camel-disco-folder.h: Abstract class for a disconnectable folder * * Authors: Dan Winship <danw@ximian.com> * * Copyright 2001 Ximian, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA */ #ifndef CAMEL_DISCO_FOLDER_H #define CAMEL_DISCO_FOLDER_H 1 #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus }*/ #include "camel-folder.h" #define CAMEL_DISCO_FOLDER_TYPE (camel_disco_folder_get_type ()) #define CAMEL_DISCO_FOLDER(obj) (CAMEL_CHECK_CAST((obj), CAMEL_DISCO_FOLDER_TYPE, CamelDiscoFolder)) #define CAMEL_DISCO_FOLDER_CLASS(k) (CAMEL_CHECK_CLASS_CAST ((k), CAMEL_DISCO_FOLDER_TYPE, CamelDiscoFolderClass)) #define CAMEL_IS_DISCO_FOLDER(o) (CAMEL_CHECK_TYPE((o), CAMEL_DISCO_FOLDER_TYPE)) struct _CamelDiscoFolder { CamelFolder parent_object; }; typedef struct { CamelFolderClass parent_class; void (*refresh_info_online) (CamelFolder *folder, CamelException *ex); void (*sync_online) (CamelFolder *folder, CamelException *ex); void (*sync_offline) (CamelFolder *folder, CamelException *ex); void (*sync_resyncing) (CamelFolder *folder, CamelException *ex); void (*expunge_uids_online) (CamelFolder *folder, GPtrArray *uids, CamelException *ex); void (*expunge_uids_offline) (CamelFolder *folder, GPtrArray *uids, CamelException *ex); void (*expunge_uids_resyncing) (CamelFolder *folder, GPtrArray *uids, CamelException *ex); void (*append_online) (CamelFolder *folder, CamelMimeMessage *message, const CamelMessageInfo *info, CamelException *ex); void (*append_offline) (CamelFolder *folder, CamelMimeMessage *message, const CamelMessageInfo *info, CamelException *ex); void (*append_resyncing) (CamelFolder *folder, CamelMimeMessage *message, const CamelMessageInfo *info, CamelException *ex); void (*copy_online) (CamelFolder *source, GPtrArray *uids, CamelFolder *destination, CamelException *ex); void (*copy_offline) (CamelFolder *source, GPtrArray *uids, CamelFolder *destination, CamelException *ex); void (*copy_resyncing) (CamelFolder *source, GPtrArray *uids, CamelFolder *destination, CamelException *ex); void (*move_online) (CamelFolder *source, GPtrArray *uids, CamelFolder *destination, CamelException *ex); void (*move_offline) (CamelFolder *source, GPtrArray *uids, CamelFolder *destination, CamelException *ex); void (*move_resyncing) (CamelFolder *source, GPtrArray *uids, CamelFolder *destination, CamelException *ex); void (*cache_message) (CamelDiscoFolder *disco_folder, const char *uid, CamelException *ex); void (*prepare_for_offline) (CamelDiscoFolder *disco_folder, const char *expression, CamelException *ex); void (*update_uid) (CamelFolder *folder, const char *old_uid, const char *new_uid); } CamelDiscoFolderClass; /* public methods */ void camel_disco_folder_expunge_uids (CamelFolder *folder, GPtrArray *uids, CamelException *ex); void camel_disco_folder_cache_message (CamelDiscoFolder *disco_folder, const char *uid, CamelException *ex); void camel_disco_folder_prepare_for_offline (CamelDiscoFolder *disco_folder, const char *expression, CamelException *ex); /* Standard Camel function */ CamelType camel_disco_folder_get_type (void); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* CAMEL_DISCO_FOLDER_H */ e='gnome-3.26'>gnome-3.26</option> <option value='gnome-3.28'>gnome-3.28</option> <option value='gnome-3.32'>gnome-3.32</option> <option value='gnome-3.36'>gnome-3.36</option> <option value='gstreamer'>gstreamer</option> <option value='gstreamer-1.16'>gstreamer-1.16</option> <option value='gstreamer0.10-removal'>gstreamer0.10-removal</option> <option value='main'>main</option> <option value='master'>master</option> <option value='mate-1.16' selected='selected'>mate-1.16</option> <option value='mate-1.18'>mate-1.18</option> <option value='mate-1.20'>mate-1.20</option> <option value='mate-1.22'>mate-1.22</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)</td><td class='sub right'></td></tr></table> <table class='tabs'><tr><td> <a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/about/?h=mate-1.16'>about</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/?h=mate-1.16'>summary</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/refs/?h=mate-1.16&id=b9b8e794d787672e70b3e05685a9d9ebde998f29'>refs</a><a class='active' href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/security/p5-Digest-SHA?h=mate-1.16'>log</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/tree/security/p5-Digest-SHA?h=mate-1.16&id=b9b8e794d787672e70b3e05685a9d9ebde998f29'>tree</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/security/p5-Digest-SHA?h=mate-1.16&id=b9b8e794d787672e70b3e05685a9d9ebde998f29'>commit</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/diff/security/p5-Digest-SHA?h=mate-1.16&id=b9b8e794d787672e70b3e05685a9d9ebde998f29'>diff</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/stats/security/p5-Digest-SHA?h=mate-1.16'>stats</a></td><td class='form'><form class='right' method='get' action='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/security/p5-Digest-SHA'> <input type='hidden' name='h' value='mate-1.16'/><input type='hidden' name='id' value='b9b8e794d787672e70b3e05685a9d9ebde998f29'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/?h=mate-1.16&id=b9b8e794d787672e70b3e05685a9d9ebde998f29'>root</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/security?h=mate-1.16&id=b9b8e794d787672e70b3e05685a9d9ebde998f29'>security</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/security/p5-Digest-SHA?h=mate-1.16&id=b9b8e794d787672e70b3e05685a9d9ebde998f29'>p5-Digest-SHA</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th></th><th class='left'>Commit message (<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/security/p5-Digest-SHA?h=mate-1.16&id=b9b8e794d787672e70b3e05685a9d9ebde998f29&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Age</th><th class='left'>Files</th><th class='left'>Lines</th></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/security/p5-Digest-SHA?h=mate-1.16&id=f42856eba9fb3ca5404f63c69672a520d85efc2d'>- Revert ports/165605 as requested by portmgr@</a></td><td>pgollucci</td><td><span title='2012-03-14 00:15:36 +0800'>2012-03-14</span></td><td>2</td><td><span class='deletions'>-1</span>/<span class='insertions'>+13</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/security/p5-Digest-SHA?h=mate-1.16&id=bdc7b8de9b4a00d6f78b8a20e6e92ad630e44558'>- Remove ports that only work with < perl 5.12 (devel/p5-B-Size, devel/p5-Dev...</a></td><td>pgollucci</td><td><span title='2012-03-09 02:45:38 +0800'>2012-03-09</span></td><td>2</td><td><span class='deletions'>-13</span>/<span class='insertions'>+1</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/security/p5-Digest-SHA?h=mate-1.16&id=d288da2176663ef1dc930995d710e0f41090a756'>- Update to 5.71</a></td><td>sunpoet</td><td><span title='2012-03-01 00:16:54 +0800'>2012-03-01</span></td><td>2</td><td><span class='deletions'>-4</span>/<span class='insertions'>+3</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/security/p5-Digest-SHA?h=mate-1.16&id=e541c221b82a78b07ef16bed4bf5c776914b9cfb'>- Update to 5.70</a></td><td>sunpoet</td><td><span title='2011-12-14 22:14:31 +0800'>2011-12-14</span></td><td>2</td><td><span class='deletions'>-5</span>/<span class='insertions'>+8</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/security/p5-Digest-SHA?h=mate-1.16&id=29da7d44cd636a3ae9e6e0af11b39a891077c161'>- Update to 5.63</a></td><td>clsung</td><td><span title='2011-11-08 23:01:32 +0800'>2011-11-08</span></td><td>2</td><td><span class='deletions'>-3</span>/<span class='insertions'>+3</span></td></tr>