hgl 0.5.42~jessie
A compiler/interpreter suite for developing images (plugin development)
List of all members
HGL::Common::IPluginPoptOptions Interface Referenceabstract

Interface to enable command line options for plugins. More...

#include "ipluginpoptoptions.h"

Public Member Functions

Command line options support
virtual struct::poptOption * getPoptOptions () const _CONST
 Get plugin supplied command line options. More...
 

Detailed Description

Interface to enable command line options for plugins.

Author
Heiko Schäfer heiko.nosp@m.@hgl.nosp@m..rang.nosp@m.un.d.nosp@m.e
Since
0.4.62

Member Function Documentation

virtual struct ::poptOption* HGL::Common::IPluginPoptOptions::getPoptOptions ( ) const
virtual

Get plugin supplied command line options.

Note
See http://linux.die.net/man/3/popt for how to create and use the popt structure and Command line options support for details on how to use it in your plugins.

The default implementation returns NULL i.e. it won't provide own command line options

In your POPT_ARG_CALLBACK you can indicate HGL to exit gracefully by throwing HGL::Exception::PoptExitException

Returns
structure to popt options
Since
0.4.53