124
Chapter 10: The Source Control Integration API
bool SCS_ItemExists()
Description
This function determines whether a file or folder exists on the server.
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 remote file or folder path.
Returns
A Boolean value:
true
if successful;
false
otherwise.
The Source Control Integration API optional functions
The Source Control Integration API has required and optional functions. The functions in this
section are optional.
bool SCS_GetConnectionInfo()
Description
This function displays a dialog box to let the user change or set the connection information for
this site. It does not make the connection. This function is called when the user clicks the Settings
button in the Remote Info section of the Edit Sites dialog box.
Arguments
void **connectionData
,
const char
siteName[64]
•
The
connectionData
argument is a handle to data that the agent wants Dreamweaver to pass
it when calling other API functions.
•
The
siteName
argument is a string that points to the name of the site. The name cannot
exceed 64 characters.
Returns
A Boolean value:
true
if successful;
false
otherwise.
000_DW_API_Print.book Page 124 Wednesday, August 20, 2003 9:14 AM
Содержание DREAMWEAVER MX 2004-DREAMWEAVER API
Страница 1: ...Dreamweaver API Reference...
Страница 24: ...24 Contents...
Страница 32: ......
Страница 70: ...70 Chapter 5 Fireworks Integration...
Страница 76: ...76 Chapter 6 Flash Integration...
Страница 116: ...116 Chapter 9 The JavaBeans API...
Страница 140: ......
Страница 152: ...152 Chapter 11 Application...
Страница 218: ...218 Chapter 12 Workspace...
Страница 248: ...248 Chapter 13 Site...
Страница 292: ...292 Chapter 14 Document...
Страница 378: ...378 Chapter 17 Design...
Страница 430: ...430 Chapter 18 Code...
Страница 486: ...486 Index...