Enablers
141
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
remotePathList
argument is the remote filenames or folder paths that can be
renamed.
Returns
A Boolean value:
true
if successful;
false
otherwise.
bool SCS_BeforeGet()
Description
Dreamweaver calls this function before getting or checking out one or more files. This
function lets your DLL perform one operation, such as adding a check-out comment, to a
group of files.
Arguments
*connectionData
■
The
*connectionData
argument is a pointer to the agent’s data that passed into
Dreamweaver during the
Connect()
call.
Returns
A Boolean value:
true
if successful;
false
otherwise.
Example
To get a group of files, Dreamweaver makes calls to the DLL in the following order:
SCS_BeforeGet(connectionData);
SCS_Get(connectionData,remotePathList1,localPathList1,¬
successList1);
SCS_Get(connectionData,remotePathList2,localPathList2,¬
successList2);
SCS_Get(connectionData,remotePathList3,localPathList3,¬
successList3);
SCS_AfterGet(connectionData);
000_DW_API_Print.book Page 141 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...