Adobe 38040334 API Reference - Page 97
bool SCS_SiteRenamed, int SCS_GetNumNewFeatures, bool SCS_GetNewFeatures
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 97 highlights
DREAMWEAVER CS3 92 API Reference 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. 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 menuItemList argument is a string list that is populated by the DLL; it specifies the menu items to add to the main and context menus. Each string can contain a maximum of 32 characters. • The functionList argument is populated by the DLL; it specifies the routines in the DLL to call when the user selects the corresponding menu item.