User Guide

140 The Source Control Integration API
bool SCS_canNewFolder()
Description
This function returns whether the New Folder menu item should be enabled.
Arguments
void *connectionData, const char *remotePath
The connectionData argument is a pointer to the agents data that passed into
Dreamweaver during the
Connect() call.
The remotePath argument is a list of remote filenames or folder paths that the user
selected to indicate where the new folder will be created.
Returns
A Boolean value: true if successful; false otherwise.
bool SCS_canDelete()
Description
This function returns whether the Delete menu item should be enabled.
Arguments
void *connectionData, const char *remotePathList[], const int numItems
The connectionData argument is a pointer to the agents data that passed into
Dreamweaver during the
Connect() call.
The remotePathList argument is a list of remote filenames or folder paths to delete.
The numItems argument is the number of items in each list.
Returns
A Boolean value: true if successful; false otherwise.
bool SCS_canRename()
Description
This function returns whether the Rename menu item should be enabled.
000_DW_API_Print.book Page 140 Wednesday, July 20, 2005 11:58 AM