128
Chapter 10: The Source Control Integration API
bool SCS_UndoCheckout()
Description
This function undoes the check-out status of a list of files or folders. The DLL is responsible for
making the file read-only. If it is unsupported by the source control system and this feature is
enabled by the user, this function uses the Dreamweaver internal Check In/Check Out
functionality, which transports LCK files to and from the source control system.
Arguments
void *connectionData
,
const char
*
remotePathList[]
,
const char
*
localPathList[]
,
bool
successList[]
,
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 on which to undo
the check out.
•
The
localPathList
argument is a mirrored list of local filenames or folder paths.
•
The
successList
argument is a list of Boolean values that are populated by the DLL to let
Dreamweaver know which corresponding files’ check outs are undone successfully.
•
The
numItems
argument is the number of items in each list.
Returns
A Boolean value:
true
if successful;
false
otherwise.
int SCS_GetNumCheckedOut()
Description
This function returns the number of users who have a file checked out.
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 the remote file or folder path to check to see how many users
have it checked out.
Returns
An integer that indicates the number of people who have the file checked out. If the function
returns
< 0
, Dreamweaver considers it an error and tries to retrieve the error message from the
DLL, if supported.
000_DW_API_Print.book Page 128 Wednesday, August 20, 2003 9:14 AM
Содержание DREAMWEAVER MX 2004
Страница 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...