Bool Scs_Getnewfeatures(); Bool Scs_Getcheckoutname() - MACROMEDIA DREAMWEAVER MX 2004-DREAMWEAVER API Reference

Dreamweaver api reference
Table of Contents

Advertisement

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]
const int numNewFeatures
The
menuItemList
menu items to add to the main and context menus. Each string can contain a maximum of
32 characters.
The
functionList
call when the user selects the corresponding menu item.
The
enablerList
call when Dreamweaver needs to determine whether the corresponding menu item is enabled.
The
numNewFeatures
retrieved from the
The following function signature defines the functions and enablers that passed to the
SCS_GetNewFeatures()
bool (*scFunction)(void *connectionData, const char *remotePathList[],
const char *localPathList[], const int numItems)
Returns
A Boolean value:

bool SCS_GetCheckoutName()

Description
This function returns the check-out name of the current user. 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
The
connectionData
during the
Connect()
The
checkOutName
The
emailAddress
Returns
A Boolean value:
126
Chapter 10: The Source Control Integration API
,
scFunction functionList[], scFunction enablerList[]
argument is a string list that is populated by the DLL; it specifies the
argument is populated by the DLL; it specifies the routines in the DLL to
argument is populated by the DLL; it specifies the routines in the DLL to
argument is the number of items being added by the DLL; this value is
GetNumNewFeatures()
call in the
functionlist
if successful;
true
false
,
char checkOutName[64]
argument is a pointer to the agent's data that passed into Dreamweaver
call.
argument is the name of the current user.
argument is the e-mail address of the current user.
if successful;
true
false
call.
and
enablerList
otherwise.
,
char emailAddress[64]
otherwise.
arguments.
,

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents