User Guide

134 The Source Control Integration API
int SCS_GetMaxNoteLength()
Description
This function 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
companionMNO file.
Arguments
void *connectionData, const char *remotePath
The connectionData argument is a pointer to the agents data that passed into
Dreamweaver during the
Connect() call.
The remotePath argument is the remote file or folder path 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
This function 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 companionMNO file.
Arguments
void *connectionData, const char *remotePath, char keyList[][64],
char *valueList[], bool showColumnList[], const int noteCount,
const int noteLength
The connectionData argument is a pointer to the agents data that passed into
Dreamweaver during the
Connect() call.
The remotePath argument is the remote file or folder path that the DLL checks for the
number of items.
The keyList argument is a list of Design Note keys, such as "Status".
The valueList argument is a list of Design Note values that correspond to the Design
Note keys, such as
"Awaiting Signoff".
000_DW_API_Print.book Page 134 Wednesday, July 20, 2005 11:58 AM