This function checks in previously checked-out files to the source control system, storing the changes and creating a new version. This function is called with a count and an array of names of the files to be checked in.
The source control plug-in implementation of this function is expected to return one of the following values:
Files was successfully checked in.
The selected file is not under source code control.
There was a problem accessing the source control system, probably due to network or contention issues. A retry is recommended.
Nonspecific failure. File was not checked in.
The user has not checked out the file, so cannot check it in.
Checkin could not be performed because:
File has been auto-merged but has not been checked in pending user verification.
File has been auto-merged but has not been checked in due to a merge conflict that must be manually resolved.
The user is not allowed to perform this operation.
Operation was cancelled before completion.
A file or project needs to be reloaded.
Local file was not found.
The comment applies to all files being checked in. The comment argument can be a null string, in which case the source control plug-in can prompt the user for a comment string for each file.
The fOptions argument can be given a value of the SCC_KEEP_CHECKEDOUT flag to indicate the user's intent to check the file in and check it out again.