Adobe 38040334 - Dreamweaver CS3 User Manual page 97

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Returns
A Boolean value:
if successful;
true
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
argument is a string that points to the original name of the site before it was renamed. The
oldSiteName
name cannot exceed 64 characters.
• The
argument is a string that points to the new name of the site after it was renamed. The name
newSiteName
cannot exceed 64 characters.
Returns
A Boolean value:
if successful;
true
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
weaver considers it an error and tries to retrieve the error message from the DLL, if supported.
bool SCS_GetNewFeatures()
Description
This function returns a list of menu items to add to the Dreamweaver main and context menus. For example, the
Sourcesafe DLL can add History and File Differences to the main menu.
Arguments
char menuItemList[][32], scFunction functionList[], scFunction enablerList[], const int
numNewFeatures
• The
argument is a string list that is populated by the DLL; it specifies the menu items to add to
menuItemList
the main and context menus. Each string can contain a maximum of 32 characters.
• The
argument is populated by the DLL; it specifies the routines in the DLL to call when the user
functionList
selects the corresponding menu item.
otherwise.
false
otherwise.
false
DREAMWEAVER CS3
92
API Reference
, Dream-
< 0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents