The Source Control Integration API optional functions
125
bool SCS_SiteDeleted()
Description
This function notifies the DLL that the site has been deleted or that the site is no longer tied to
this source control system. It indicates that the source control system can delete its persistent
information for this site.
Arguments
const char siteName[64]
•
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.
bool SCS_SiteRenamed()
Description
This function notifies the DLL when the user has renamed the site so that it can update its
persistent information about the site.
Arguments
const char oldSiteName[64]
,
const char
newSiteName[64]
•
The
oldSiteName
argument is a string that points to the original name of the site before it
was renamed. The name cannot exceed 64 characters.
•
The
newSiteName
argument is a string that points to the new name of the site after it was
renamed. The name cannot exceed 64 characters.
Returns
A Boolean value:
true
if successful;
false
otherwise.
int SCS_GetNumNewFeatures()
Description
This function returns the number of new features to add to Dreamweaver (for example, File
History, Differences, and so on).
Arguments
None.
Returns
An integer that indicates the number of new features to add to Dreamweaver. 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 125 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...