Chapter 10: The Source Control Integration Api - Adobe 38040334 - Dreamweaver CS3 User Manual

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

Advertisement

Chapter 10: The source control
integration API
The source control integration API lets you write shared libraries to extend the Adobe® Dream-
weaver® CS3 Check In/Check Out feature using source control systems (such as Sourcesafe or
CVS).
Your libraries must support a minimum set of API functions for Dreamweaver to integrate with
a source control system. And, your libraries must reside in the Program Files/Adobe/Adobe
Dreamweaver CS3/Configuration/SourceControl folder.
When Dreamweaver starts, it loads each library. Dreamweaver determines which features the
library supports by calling
exist, Dreamweaver assumes the library does not support the API. If the address exists, Dream-
weaver uses the library's version of the function to support the functionality. When a Dream-
weaver user defines or edits a site and then selects the Web Server SCS tab, the choices that
correspond to the DLLs that loaded from the Program Files/Adobe/Adobe Dreamweaver
CS3/Configuration/SourceControl folder appear (in addition to the standard items) on the tab.
To create a Site > Source Control menu to which you can add custom items, add the following
code in the Site menu in the menus.xml file:
<menu name="Source Control" id="DWMenu_MainSite_Site_Source¬
Control"><menuitem dynamic name="None"file="Menus/MM/¬
File_SCSItems.htm" id="DWMenu_MainSite_Site_NewFeatures_¬
Default" />
</menu>
The functions described in this chapter are grouped into the following sections:
• "The source control integration API required functions" on page 85
• "The source control integration API optional functions" on page 91
• "Enablers" on page 99
for each API function. If an address does not
GetProcAddress()

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents