|
| FileAssociationCommand (const std::string &command, const std::string &cmdLineArg, const std::string &ddeCommand, std::function< void(const std::string &)> callback) |
|
|
std::string | command_ |
|
std::string | cmdLineArg_ |
|
std::string | ddeCommand_ |
|
std::function< void(const std::string &)> | callback_ |
|
◆ FileAssociationCommand()
inviwo::FileAssociationCommand::FileAssociationCommand |
( |
const std::string & |
command, |
|
|
const std::string & |
cmdLineArg, |
|
|
const std::string & |
ddeCommand, |
|
|
std::function< void(const std::string &)> |
callback |
|
) |
| |
|
inline |
Construct a FileAssociationCommand
- Parameters
-
command | Name of the command, this will be shown in the context menu in the explorer for example. |
cmdLineArg | The command line argument to pass to inviwo to invoke the command, the passed file is available as '%1'. E.g. for 'open' we would pass '-w %1' |
ddeCommand | The runtime command use to intercept the command when Inviwo is running |
callback | A callback that will be called whenever the command is executed and Inviwo is running |
The documentation for this struct was generated from the following file: