|
HyperspaceExplorer 0.7.1
|
Class template with a static function to simulate a function template. More...
Static Public Member Functions | |
| static bool | functionPresent (const QString &, QDialog *) |
| Loads the dynamic library given by libName, if it exists and can be loaded. | |
Class template with a static function to simulate a function template.
The function functionPresent() tries to load a dynamic library containing a function f() with a variable signature.
| F | the type of function to be loaded |
| bool UI::Dialogs::PluginCreator::LoadFunctionHelper< F >::functionPresent | ( | const QString & | libName, |
| QDialog * | parent | ||
| ) | [static] |
Loads the dynamic library given by libName, if it exists and can be loaded.
Then it checks whether a function named f() is present.
If so, returns true. Else, gives an error message.
| F | The type of Function to be created. |
| libName | filename for the selected DLL |
| parent | the Dialog which calls this function |
References abort(), std::cerr, and std::endl().

1.7.4
-
Hosted by