Overload 1KCss& KCss::loadScript( // load a script from file
const IString& aFileName); // file name
Compiles/loads a script from a file. If the file name is given without extension, .css is appended. The file is searched in the directories listed in environment variable CSSPATH. If CSSPATH does not exist, the file is searched in the current working directory. Overload 2KCss& KCss::loadScript( // load a script from istream
const IString& aFileName // file/module name
istream* aStr); // input stream
Compiles/loads a script from any istream. May be used to load a script from memory instead from a file. NOTE: CSS will not load the same file/module several times; attempt to do so will be silently ignored. |
|