[ CCode ( has_construct_function = false , type = "ESource*" ) ]
public ServerSideSource (SourceRegistryServer server, File? file) throws Error
Creates a new ServerSideSource which belongs to server.
If file is non-null and points to an existing file, the
ServerSideSource is initialized from the file content. If a read error occurs or the
file contains syntax errors, the function sets throws and returns null
.
| server | |
| file |
a File, or null |
|
a new ServerSideSource, or null |