NokSync

KaarPoSoft

synchronizer.js_ File Reference


Detailed Description

Functionality for synchronizing Thunderbird with NOKIA.


Functions

void  allDeleteTbird (Comparison aDelete)
void  allNewTbird (nsIAbDirectory abDirectory, Comparison aNew)
void  allUpdateTbird (Comparison aUpdate)
int  filterComparison (nsIRDFDataSource dsTree, Comparison oldComparison, Comparison filteredComparison)
void  oneDeleteNokia (long locationToDelete)
void  oneNewNokia (INokiaPhonebook nokiaPhonebook, Comparison theNew)
void  oneUpdateNokia (Comparison toUpdate)
void  stripNumber (string number)

Variables

string  where

Function Documentation

void allDeleteTbird ( Comparison  aDelete  ) 

Delete all selected Thunderbird contacts

Parameters:
aDelete 

void allNewTbird ( nsIAbDirectory  abDirectory,
Comparison  aNew  
)

Create all new Thunderbird contacts

Parameters:
abDirectory 
aNew 

void allUpdateTbird ( Comparison  aUpdate  ) 

Update all selected Thunderbird contacts

Parameters:
aUpdate 

int filterComparison ( nsIRDFDataSource  dsTree,
Comparison  oldComparison,
Comparison  filteredComparison  
)

Filter comparison according to "dont" in datasource.

Parameters:
dsTree 
oldComparison 
filteredComparison  Output. Must be initialized to new Object(); before call.
Returns:
Number of contacts to synchronize.

void oneDeleteNokia ( long  locationToDelete  ) 

Delete one NOKIA contact

Parameters:
locationToDelete  Location in the NOKIA phone to delete

void oneNewNokia ( INokiaPhonebook  nokiaPhonebook,
Comparison  theNew  
)

Create one new NOKIA contact

Parameters:
nokiaPhonebook 
theNew 

void oneUpdateNokia ( Comparison  toUpdate  ) 

Update one NOKIA contact

Parameters:
toUpdate 

void stripNumber ( string  number  ) 

Strip unwanted characters off a phone number

Parameters:
number 


Variable Documentation

string where

Global prefix string for logging

Doxygen.org   SourceForge.net