diff options
Diffstat (limited to 'src/Fl_Preferences.cxx')
| -rw-r--r-- | src/Fl_Preferences.cxx | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/src/Fl_Preferences.cxx b/src/Fl_Preferences.cxx index 9cce411eb..29f44fd67 100644 --- a/src/Fl_Preferences.cxx +++ b/src/Fl_Preferences.cxx @@ -34,15 +34,15 @@ char Fl_Preferences::uuidBuffer[40]; Fl_Preferences *Fl_Preferences::runtimePrefs = 0; /** - * Returns a UUID as generated by the system. - * - * A UUID is a "universally unique identifier" which is commonly used in - * configuration files to create identities. A UUID in ASCII looks like this: - * <tt>937C4900-51AA-4C11-8DD3-7AB59944F03E</tt>. It has always 36 bytes plus - * a trailing zero. - * - * \return a pointer to a static buffer containing the new UUID in ASCII format. - * The buffer is overwritten during every call to this function! + Returns a UUID as generated by the system. + + A UUID is a "universally unique identifier" which is commonly used in + configuration files to create identities. A UUID in ASCII looks like this: + <tt>937C4900-51AA-4C11-8DD3-7AB59944F03E</tt>. It has always 36 bytes plus + a trailing zero. + + \return a pointer to a static buffer containing the new UUID in ASCII format. + The buffer is overwritten during every call to this function! */ const char *Fl_Preferences::newUUID() { Fl::system_driver()->newUUID(uuidBuffer); @@ -1377,10 +1377,10 @@ void Fl_Preferences::Node::deleteIndex() { } /** - * \brief Create a plugin. - * - * \param[in] klass plugins are grouped in classes - * \param[in] name every plugin should have a unique name + \brief Create a plugin. + + \param[in] klass plugins are grouped in classes + \param[in] name every plugin should have a unique name */ Fl_Plugin::Fl_Plugin(const char *klass, const char *name) : id(0) { @@ -1393,7 +1393,7 @@ Fl_Plugin::Fl_Plugin(const char *klass, const char *name) } /** - * \brief Clear the plugin and remove it from the database. + \brief Clear the plugin and remove it from the database. */ Fl_Plugin::~Fl_Plugin() { #ifdef FL_PLUGIN_VERBOSE @@ -1404,7 +1404,7 @@ Fl_Plugin::~Fl_Plugin() { } /** - * \brief Manage all plugins belonging to one class. + \brief Manage all plugins belonging to one class. */ Fl_Plugin_Manager::Fl_Plugin_Manager(const char *klass) : Fl_Preferences(0, Fl_Preferences::Name("%s/%s", "plugins", klass)) { @@ -1414,10 +1414,10 @@ Fl_Plugin_Manager::Fl_Plugin_Manager(const char *klass) } /** - * \brief Remove the plugin manager. - * - * Calling this does not remove the database itself or any plugins. It just - * removes the reference to the database. + \brief Remove the plugin manager. + + Calling this does not remove the database itself or any plugins. It just + removes the reference to the database. */ Fl_Plugin_Manager::~Fl_Plugin_Manager() { #ifdef FL_PLUGIN_VERBOSE @@ -1454,7 +1454,7 @@ static void p2a(void *vp, char *d) { } /** - * \brief Return the address of a plugin by index. + \brief Return the address of a plugin by index. */ Fl_Plugin *Fl_Plugin_Manager::plugin(int index) { char buf[34]; @@ -1469,7 +1469,7 @@ Fl_Plugin *Fl_Plugin_Manager::plugin(int index) { } /** - * \brief Return the address of a plugin by name. + \brief Return the address of a plugin by name. */ Fl_Plugin *Fl_Plugin_Manager::plugin(const char *name) { char buf[34]; @@ -1491,10 +1491,10 @@ Fl_Plugin *Fl_Plugin_Manager::plugin(const char *name) { } /** - * \brief This function adds a new plugin to the database. - * - * There is no need to call this function explicitly. Every Fl_Plugin constructor - * will call this function at initialization time. + \brief This function adds a new plugin to the database. + + There is no need to call this function explicitly. Every Fl_Plugin constructor + will call this function at initialization time. */ Fl_Preferences::ID Fl_Plugin_Manager::addPlugin(const char *name, Fl_Plugin *plugin) { char buf[34]; @@ -1508,22 +1508,22 @@ Fl_Preferences::ID Fl_Plugin_Manager::addPlugin(const char *name, Fl_Plugin *plu } /** - * \brief Remove any plugin. - * - * There is no need to call this function explicitly. Every Fl_Plugin destructor - * will call this function at destruction time. + \brief Remove any plugin. + + There is no need to call this function explicitly. Every Fl_Plugin destructor + will call this function at destruction time. */ void Fl_Plugin_Manager::removePlugin(Fl_Preferences::ID id) { Fl_Preferences::remove(id); } /** - * \brief Load a module from disk. - * - * A module must be a dynamically linkable file for the given operating system. - * When loading a module, its +init function will be called which in turn calls - * the constructor of all statically initialized Fl_Plugin classes and adds - * them to the database. + \brief Load a module from disk. + + A module must be a dynamically linkable file for the given operating system. + When loading a module, its +init function will be called which in turn calls + the constructor of all statically initialized Fl_Plugin classes and adds + them to the database. */ int Fl_Plugin_Manager::load(const char *filename) { // the functions below will automatically load plugins that are defined: @@ -1534,7 +1534,7 @@ int Fl_Plugin_Manager::load(const char *filename) { } /** - * \brief Use this function to load a whole directory full of modules. + \brief Use this function to load a whole directory full of modules. */ int Fl_Plugin_Manager::loadAll(const char *filepath, const char *pattern) { struct dirent **dir; |
