Updated The VDR Plugin System (markdown)

Manuel Reimer 2023-09-19 10:25:00 +02:00
parent 046b7f062e
commit eedf8c12ef

@ -420,7 +420,7 @@ these arguments. As with any normal C program, the strings pointed to by <tt>arg
will survive the entire lifetime of the plugin, so it is safe to store pointers to will survive the entire lifetime of the plugin, so it is safe to store pointers to
these values inside the plugin. Here's an example: these values inside the plugin. Here's an example:
<p><pre> <pre>
bool cPluginHello::ProcessArgs(int argc, char *argv[]) bool cPluginHello::ProcessArgs(int argc, char *argv[])
{ {
// Implement command line argument processing here if applicable. // Implement command line argument processing here if applicable.
@ -442,7 +442,7 @@ bool cPluginHello::ProcessArgs(int argc, char *argv[])
} }
return true; return true;
} }
</pre><p> </pre>
The return value must be <i>true</i> if all options have been processed The return value must be <i>true</i> if all options have been processed
correctly, or <i>false</i> in case of an error. The first plugin that returns correctly, or <i>false</i> in case of an error. The first plugin that returns