mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-23 17:38:44 +00:00
Changed: #1193 Update doxygen documentation.
This commit is contained in:
parent
219dce25f2
commit
5955b5405b
3 changed files with 30 additions and 1 deletions
|
@ -33,6 +33,14 @@ namespace NLMISC
|
||||||
namespace NLQT
|
namespace NLQT
|
||||||
{
|
{
|
||||||
|
|
||||||
|
/**
|
||||||
|
@interface IPlugin
|
||||||
|
@brief Base class for all plugins.
|
||||||
|
@details The IPlugin class is an abstract class that must be implemented
|
||||||
|
once for each plugin. The IPlugin implementation must be exported and
|
||||||
|
made known to Qt's plugin system via the Q_EXPORT_PLUGIN macro,
|
||||||
|
see the Qt documentation for details on that.
|
||||||
|
*/
|
||||||
class IPlugin
|
class IPlugin
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -28,6 +28,14 @@ namespace NLQT
|
||||||
{
|
{
|
||||||
class IPluginSpec;
|
class IPluginSpec;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
@interface IPluginManager
|
||||||
|
@brief Interface for plugin system that manages the plugins, their life cycle and their registered objects.
|
||||||
|
@details The plugin manager is used for the following tasks:
|
||||||
|
- Manage plugins and their state
|
||||||
|
- Manipulate a 'common object pool'
|
||||||
|
*/
|
||||||
class IPluginManager: public QObject
|
class IPluginManager: public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
|
@ -27,6 +27,11 @@ namespace NLQT
|
||||||
class IPlugin;
|
class IPlugin;
|
||||||
class IPluginManager;
|
class IPluginManager;
|
||||||
|
|
||||||
|
/**
|
||||||
|
@struct State
|
||||||
|
@details The plugin goes through several steps while being loaded.
|
||||||
|
The state gives a hint on what went wrong in case of an error.
|
||||||
|
*/
|
||||||
struct State
|
struct State
|
||||||
{
|
{
|
||||||
enum List
|
enum List
|
||||||
|
@ -41,6 +46,14 @@ struct State
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
@interface IPluginSpec
|
||||||
|
@brief Interface for plugin spec contains the information of the plugins and
|
||||||
|
information about the plugin's current state.
|
||||||
|
@details The plugin spec is also filled with more information as the plugin
|
||||||
|
goes through its loading process (see State).
|
||||||
|
If an error occurs, the plugin spec is the place to look for the error details.
|
||||||
|
*/
|
||||||
class IPluginSpec
|
class IPluginSpec
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in a new issue