SoC:RoamingSupport: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
* Build a message w/ attachments
* Build a message w/ attachments
** Used for both IMAP and Mail delivery cases
** Used for both IMAP and Mail delivery cases
 
* Items to Sync:
* Items to Sync:
** Address Book
** Address Book
Line 8: Line 7:
** Newsrc files
** Newsrc files
** etc.. (add more)
** etc.. (add more)
 
* When to sync?
* When to sync?
** on a set interval (pref?)
** on a set interval (pref?)
** shutdown
** shutdown
 
* Things to keep in mind:
* Things to keep in mind:
** Make the feature extensible
** Make the feature extensible
*** A simple interface to inherit?
*** A simple interface to inherit?
** Need a way to know that an object has changed
** Need a way to know that an object has changed
** A way to stream the object to a file, or a file pointer
** A way to stream the object to a file, or a file pointer
*** for newsrc files, filters, (anything that uses a file)
*** for newsrc files, filters, (anything that uses a file)
** Things that aren't stored as a file:
** Things that aren't stored as a file:
*** Account Information
*** Account Information
*** About everything in account.js
*** About everything in account.js
  **** Sync tag definitions
**** Sync tag definitions
*** An interface that parses and applies these changes:
*** An interface that parses and applies these changes:

Revision as of 20:51, 3 June 2007

  • Build a message w/ attachments
    • Used for both IMAP and Mail delivery cases
  • Items to Sync:
    • Address Book
    • Mail Filters
    • Saved Searches
    • Newsrc files
    • etc.. (add more)
  • When to sync?
    • on a set interval (pref?)
    • shutdown
  • Things to keep in mind:
    • Make the feature extensible
      • A simple interface to inherit?
    • Need a way to know that an object has changed
    • A way to stream the object to a file, or a file pointer
      • for newsrc files, filters, (anything that uses a file)
    • Things that aren't stored as a file:
      • Account Information
      • About everything in account.js
        • Sync tag definitions
      • An interface that parses and applies these changes: