Show
Ignore:
Timestamp:
01/13/08 21:39:50 (11 months ago)
Author:
cyrusdaboo
Message:

Support for reading/writing preferences as a flat file on a WebDAV server. This is the final piece to
provide a full replacement for IMSP/ACAP via WebDAV technologies. Ultimately an XCAP-like solution
allowing partial reads/writes would be better but this is a good first step.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Mulberry/branches/v4.1d1/Sources_Common/Application/Preferences/CAdminLock.cp

    r19 r150  
    178178 
    179179        // Remote server 
    180         for(CINETAccountList::const_iterator iter = prefs->mRemoteAccounts.GetValue().begin(); iter != prefs->mRemoteAccounts.GetValue().end(); iter++) 
     180        for(COptionsAccountList::const_iterator iter = prefs->mRemoteAccounts.GetValue().begin(); iter != prefs->mRemoteAccounts.GetValue().end(); iter++) 
    181181        { 
    182182                if (!(*iter)->GetServerIP().empty()) 
     
    257257 
    258258        // Remote server 
    259         for(CINETAccountList::iterator iter = prefs->mRemoteAccounts.Value().begin(); iter != prefs->mRemoteAccounts.Value().end(); iter++) 
     259        for(COptionsAccountList::iterator iter = prefs->mRemoteAccounts.Value().begin(); iter != prefs->mRemoteAccounts.Value().end(); iter++) 
    260260        { 
    261261                cdstring serverip = (*iter)->GetServerIP(); 
     
    367367                remote_set = mLockedPrefsServerAddr.empty(); 
    368368                pos = 0; 
    369                 for(CINETAccountList::iterator iter = prefs->mRemoteAccounts.Value().begin(); iter != prefs->mRemoteAccounts.Value().end(); iter++, pos++) 
     369                for(COptionsAccountList::iterator iter = prefs->mRemoteAccounts.Value().begin(); iter != prefs->mRemoteAccounts.Value().end(); iter++, pos++) 
    370370                { 
    371371                        if (remote_set) 
     
    455455 
    456456                // Remote server 
    457                 for(CINETAccountList::iterator iter = prefs->mRemoteAccounts.Value().begin(); iter != prefs->mRemoteAccounts.Value().end(); iter++) 
     457                for(COptionsAccountList::iterator iter = prefs->mRemoteAccounts.Value().begin(); iter != prefs->mRemoteAccounts.Value().end(); iter++) 
    458458                { 
    459459                        // Remove port number which shuld not be considered part of the domain 
     
    516516 
    517517                // Change each plain text authenticator 
    518                 for(CINETAccountList::const_iterator iter = prefs->mRemoteAccounts.GetValue().begin(); iter != prefs->mRemoteAccounts.GetValue().end(); iter++) 
     518                for(COptionsAccountList::const_iterator iter = prefs->mRemoteAccounts.GetValue().begin(); iter != prefs->mRemoteAccounts.GetValue().end(); iter++) 
    519519                { 
    520520                        if ((*iter)->GetAuthenticator().RequiresUserPswd()) 
     
    597597 
    598598                // Remote server 
    599                 for(CINETAccountList::const_iterator iter = prefs->mRemoteAccounts.GetValue().begin(); iter != prefs->mRemoteAccounts.GetValue().end(); iter++) 
     599                for(COptionsAccountList::const_iterator iter = prefs->mRemoteAccounts.GetValue().begin(); iter != prefs->mRemoteAccounts.GetValue().end(); iter++) 
    600600                        UpgradeAuthenticator(*iter); 
    601601