User Guide
138 The Source Control Integration API
bool SCS_canCheckout()
Description
This function returns whether the Checkout menu item should be enabled.
Arguments
void *connectionData, const char *remotePathList[], const char
*localPathList[], 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 check out.
■ The localPathList argument is a mirrored list of local filenames or folder paths.
■ The numItems argument is the number of items in each list.
Returns
A Boolean value: true if successful; false otherwise.
bool SCS_canPut()
Description
This function returns whether the Put menu item should be enabled.
Arguments
void *connectionData, const char *localPathList[], const char
*remotePathList[], const int numItems
■ The connectionData argument is a pointer to the agent’s data that passed into
Dreamweaver during the
Connect() call.
■ The localPathList argument is a list of local filenames or folder paths to put into the
source control system.
■ The remotePathList argument is a mirrored list of remote filenames or folder paths to
put into the source control system.
■ 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 138 Wednesday, July 20, 2005 11:58 AM