User Guide

Enablers 135
bool SCS_CanUndoCheckout()
Description
This function returns whether the Undo 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 list of the local filenames or folder paths to put to the
source control system.
The numItems argument is the number of items in each list.
Returns
A Boolean value: true if successful; false otherwise.
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 agent’s 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 agent’s 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.
000_DW_API_Print.book Page 135 Wednesday, August 20, 2003 9:14 AM