136
The Source Control Integration API
Returns
A Boolean value:
true
if successful;
false
otherwise.
bool SCS_IsRemoteNewer()
Description
This function checks each specified remote path to see if the remote copy is newer.
If it is unsupported by the source control system, Dreamweaver uses its internal
isRemoteNewer
algorithm.
Arguments
void *connectionData
,
const char
*
remotePathList[]
,
const char
*
localPathList[]
,
int
remoteIsNewerList[]
,
const int numItems
■
The
connectionData
argument is a pointer to the agent’s data that passed into
Dreamweaver during the
Connect()
call.
■
The
remotePathList
argument is a list of remote filenames or folder paths to compare
for newer status.
■
The
localPathList
argument is a mirrored list of local filenames or folder paths.
■
The
remoteIsNewerList
argument is a list of integers that are populated by the DLL to
let Dreamweaver know which of the corresponding files is newer on the remote side. The
following values are valid: 1 indicates the remote version is newer; -1 indicates the local
version is newer; 0 indicates the versions are the same.
■
The
numItems
argument is the number of items in each list.
Returns
A Boolean value:
true
if successful;
false
otherwise.
000_DW_API_Print.book Page 136 Wednesday, July 20, 2005 11:58 AM
Summary of Contents for DREAMWEAVER 8-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 16: ......
Page 28: ...28 The File I O API...
Page 38: ...38 The HTTP API...
Page 68: ...68 Flash Integration...
Page 100: ...100 The Database API...
Page 116: ...116 The JavaBeans API...
Page 144: ...144 The Source Control Integration API...
Page 146: ......
Page 254: ...254 Workspace...
Page 298: ...298 Site...
Page 354: ...354 Document...
Page 396: ...396 Page Content...
Page 488: ...488 Design...
Page 550: ...550 Code...