An interface for user callbacks. More...
#include "Loader.hpp"
Public Member Functions | |
virtual std::string | GetPasswordFromUser (const std::string &Message, const std::string &Caption="Enter password")=0 |
Asks the user for a password to open the model file. More... | |
An interface for user callbacks.
A concrete model loader may require e.g. asking the user for a password to open the file. The calling code can implement this interface and pass it to the concrete loader in order to achieve the desired functionality.
|
pure virtual |
Asks the user for a password to open the model file.