From 29c500434d30cd4d9c20f6b295475ed42dba2930 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Sat, 19 Sep 2015 16:06:08 +0200 Subject: Fixed minor typos in comments --- src/template.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/template.h b/src/template.h index 3cd89b3..7d6e2ff 100644 --- a/src/template.h +++ b/src/template.h @@ -518,7 +518,7 @@ class TemplateContext */ virtual const TemplateVariant *getRef(const QCString &name) const = 0; - /** When files are create (i.e. by {% create ... %}) they written + /** When files are created (i.e. by {% create ... %}) they written * to the directory \a dir. */ virtual void setOutputDirectory(const QCString &dir) = 0; @@ -575,11 +575,10 @@ class TemplateEngine */ void destroyContext(TemplateContext *ctx); - /** Creates a new template whole contents are in a file. - * @param[in] fileName The name of the file containing the - * template data + /** Creates a new template whose contents are in a file. + * @param[in] fileName The name of the file containing the template data * @param[in] fromLine The line number of the statement that triggered the load - * @return the new template, the caller will be the owner. + * @return the new template, the engine will keep ownership of the object. */ Template *loadByName(const QCString &fileName,int fromLine); @@ -606,7 +605,6 @@ class TemplateEngine /** Returns the output extension, set via setOutputExtension() */ QCString outputExtension() const; - class Private; Private *p; }; -- cgit v0.12