Enablers
137
bool SCS_BeforePut()
Description
Dreamweaver calls this function before putting or checking in one or more files. This function
lets your DLL perform one operation, such as adding a check-in 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_BeforePut(connectionData);
SCS_Put(connectionData,localPathList1,remotePathList1,¬
successList1);
SCS_Put(connectionData,localPathList2,remotePathList2,¬
successList2);
SCS_Put(connectionData,localPathList3,remotePathList3,¬
successList3);
SCS_AfterPut(connectionData);
bool SCS_AfterGet()
Description
Dreamweaver calls this function after getting or checking out one or more files. This function lets
your DLL perform any operation after a batch get or check out, such as creating a summary
dialog box.
Arguments
*connectionData
•
The *
connectionData
argument is a pointer the agent’s data that passed into Dreamweaver
during the
Connect()
call.
Returns
A Boolean value:
true
if successful;
false
otherwise.
Example
See
“bool SCS_BeforeGet()” on page 136
.
000_DW_API_Print.book Page 137 Wednesday, August 20, 2003 9:14 AM
Summary of Contents for DREAMWEAVER MX 2004
Page 1: ...Dreamweaver API Reference...
Page 24: ...24 Contents...
Page 32: ......
Page 70: ...70 Chapter 5 Fireworks Integration...
Page 76: ...76 Chapter 6 Flash Integration...
Page 116: ...116 Chapter 9 The JavaBeans API...
Page 140: ......
Page 152: ...152 Chapter 11 Application...
Page 218: ...218 Chapter 12 Workspace...
Page 248: ...248 Chapter 13 Site...
Page 292: ...292 Chapter 14 Document...
Page 378: ...378 Chapter 17 Design...
Page 430: ...430 Chapter 18 Code...
Page 486: ...486 Index...