Specifications

The Source Control Integration API 361
connectionData is a pointer to the agents data that passed into Dreamweaver during the
Connect() call.
remotePath is the remote file or folder path name that the DLL checks for the number of
attached Design Notes.
Returns
An integer that indicates the number of Design Notes that are associated with this file. If the
function returns
< 0, Dreamweaver considers it an error and tries to retrieve the error message
from the DLL, if supported.
int SCS_GetMaxNoteLength()
Description
Returns the length of the largest Design Note for the specified file or folder. If it is unsupported
by the source control system, Dreamweaver gets this information from the companion Design
Note (.mno) file.
Arguments
void *connectionData, const char *remotePath
connectionData is a pointer to the agents data that passed into Dreamweaver during the
Connect() call.
remotePath is the remote file or folder path name that the DLL checks for the maximum
Design Note length.
Returns
An integer that indicates the size of the longest Design Note that is associated with this file. If the
function returns
< 0, Dreamweaver considers it an error and tries to retrieve the error message
from the DLL, if supported.
bool SCS_GetDesignNotes()
Description
Retrieves key-value pairs from the meta information for the specified file or folder. If it is
unsupported by the source control system, Dreamweaver retrieves the information from the
corresponding Design Note (.mno) file.
Arguments
void *connectionData, const char *remotePath, char keyList[][64],
char *valueList[], bool showColumnList[], const int noteCount,
const int noteLength
connectionData is a pointer to the agents data that passed into Dreamweaver during the
Connect() call.
remotePath is the remote file or folder path name that the DLL checks for the number of
items.
keyList is a list of Design Note keys, such as "Status".
valueList is a list of Design Note values that correspond to the Design Note keys, such as
"Awaiting Signoff".