Mercurial > hg > vamp-plugin-sdk
comparison vamp-sdk/hostext/PluginLoader.h @ 73:6d16c376fd2f
* Make library name case-insensitive in PluginLoader
* Some doc updates
author | cannam |
---|---|
date | Wed, 06 Jun 2007 12:49:55 +0000 |
parents | 64697dca0d48 |
children | 0f8524203677 |
comparison
equal
deleted
inserted
replaced
72:65add4f460e9 | 73:6d16c376fd2f |
---|---|
73 static PluginLoader *getInstance(); | 73 static PluginLoader *getInstance(); |
74 | 74 |
75 /** | 75 /** |
76 * PluginKey is a string type that is used to identify a plugin | 76 * PluginKey is a string type that is used to identify a plugin |
77 * uniquely within the scope of "the current system". It consists | 77 * uniquely within the scope of "the current system". It consists |
78 * of the base name of the plugin library, a colon separator, and | 78 * of the lower-cased base name of the plugin library, a colon |
79 * the identifier string for the plugin. It is only meaningful in | 79 * separator, and the identifier string for the plugin. It is |
80 * the context of a given plugin path (the one returned by | 80 * only meaningful in the context of a given plugin path (the one |
81 * PluginHostAdapter::getPluginPath()). | 81 * returned by PluginHostAdapter::getPluginPath()). |
82 * | 82 * |
83 * Use composePluginKey to construct a plugin key from a known | 83 * Use composePluginKey to construct a plugin key from a known |
84 * plugin library name and identifier. | 84 * plugin library name and identifier. |
85 * | |
86 * Note: the fact that the library component of the key is | |
87 * lower-cased implies that library names are matched | |
88 * case-insensitively by the PluginLoader class, regardless of the | |
89 * case sensitivity of the underlying filesystem. (Plugin | |
90 * identifiers _are_ case sensitive, however.) Also, it is not | |
91 * possible to portably extract a working library name from a | |
92 * plugin key, as the result may fail on case-sensitive | |
93 * filesystems. Use getLibraryPathForPlugin instead. | |
85 */ | 94 */ |
86 typedef std::string PluginKey; | 95 typedef std::string PluginKey; |
87 | 96 |
88 /** | 97 /** |
89 * PluginKeyList is a sequence of plugin keys, such as returned by | 98 * PluginKeyList is a sequence of plugin keys, such as returned by |