Specifications

The Source Control Integration API 363
connectionData is a pointer to the agents data that passed into Dreamweaver during the
Connect() call.
remotePathList is a list of remote file or folder path names to compare for newer status.
localPathList is a mirrored list of local file or folder path names.
remoteIsNewerList 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.
numItems is the number of items in each list.
Returns
true if successful; false otherwise.
Enablers
If the optional enablers are not supported by the source control system or the application is not
connected to the server, Dreamweaver determines when the menu items are enabled, based on the
information it has about the remote files.
bool SCS_canConnect()
Description
Returns whether the Connect menu item should be enabled.
Arguments
None.
Returns
true if enabled, false otherwise.
bool SCS_canGet()
Description
Returns whether the Get menu item should be enabled.
Arguments
void *connectionData, const char *remotePathList[], const char *localPathList[],
const int numItems
connectionData is a pointer to the agents data that passed into Dreamweaver during the
Connect() call.
remotePathList is a list of remote file or folder path names to get.
localPathList is a mirrored list of local file or folder path names.
numItems is the number of items in each list.
Returns
true if enabled, false otherwise.