The Source Control Integration API required functions
119
Returns
A Boolean value:
true
if successful;
false
otherwise.
bool SCS_Connect()
Description
This function connects the user to the source control system. If the DLL does not have log-in
information, the DLL must display a dialog box to prompt the user for the information and must
store the data for later use.
Arguments
void **connectionData
,
const char siteName[64]
•
The
connectionData
argument is a handle to the data that the agent wants Dreamweaver to
pass to it when calling other API functions.
•
The
siteName
argument is a string that points to the name of the site. The site name can be a
maximum of 64 characters.
Returns
A Boolean value:
true
if successful;
false
otherwise.
bool SCS_Disconnect()
Description
This function disconnects the user from the source control system.
Arguments
void *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.
bool SCS_IsConnected()
Description
This function determines the state of the connection.
Arguments
void *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.
000_DW_API_Print.book Page 119 Wednesday, August 20, 2003 9:14 AM
Summary of Contents for DREAMWEAVER MX 2004-DREAMWEAVER API
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...