Adobe 38040334 - Dreamweaver CS3 User Manual page 103

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

Advertisement

bool SCS_SetDesignNotes()
Description
This function stores the key-value pairs in the meta information for the specified file or folder. This replaces the set
of meta information for the file. If it is unsupported by the source control system, Dreamweaver stores Design Notes
in MNO files.
Arguments
void *connectionData, const char *remotePath, const char keyList[][64], const char
*valueList[], bool showColumnList[], const int noteCount, const int noteLength
• The
connectionData
call.
Connect()
• The
argument is the remote file or folder path that the DLL checks for the number of items.
remotePath
• The
argument is a list of Design Note keys, such as
keyList
• The
argument is a list of Design Note values that corresponds to the Design Note keys, such as
valueList
.
"Awaiting Signoff"
• The
showColumnList
indicate whether Dreamweaver can display the key as a column in the Site panel.
• The
argument is the number of Design Notes that are attached to a file or folder; this number lets the
noteCount
DLL know the size of the specified lists. If
• The
argument is the length of the largest Design note for the specified file or folder.
noteLength
Returns
A Boolean value:
if successful;
true
bool SCS_IsRemoteNewer()
Description
This function checks each specified remote path to see if the remote copy is newer. If it is unsupported by the source
control system, Dreamweaver uses its internal
Arguments
void *connectionData, const char *remotePathList[], const char *localPathList[], int
remoteIsNewerList[], const int numItems
• The
connectionData
call.
Connect()
• The
remotePathList
• The
argument is a mirrored list of local filenames or folder paths.
localPathList
• The
remoteIsNewerList
which of the corresponding files is newer on the remote side. The following values are valid: 1 indicates the remote
version is newer; -1 indicates the local version is newer; 0 indicates the versions are the same.
• The
argument is the number of items in each list.
numItems
argument is a pointer to the agent's data that passed into Dreamweaver during the
argument is a list of Boolean values that correspond to the Design Note keys, which
noteCount
otherwise.
false
isRemoteNewer
argument is a pointer to the agent's data that passed into Dreamweaver during the
argument is a list of remote filenames or folder paths to compare for newer status.
argument is a list of integers that are populated by the DLL to let Dreamweaver know
.
"Status"
is 0, all the Design Notes are removed from the file.
algorithm.
DREAMWEAVER CS3
98
API Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents