|
webpg-npapi 0.6.1
|
Called by the long-running, asymmetric gpg genkey method to display the status.
Definition at line 1919 of file webpgPluginAPI.cpp. Referenced by threaded_gpgGenKey(), and threaded_gpgGenSubKey(). {
if (!strcmp (what, "primegen") && !current && !total
&& (type == '.' || type == '+' || type == '!'
|| type == '^' || type == '<' || type == '>')) {
webpgPluginAPI* API = (webpgPluginAPI*) self;
API->FireEvent("onkeygenprogress", FB::variant_list_of(type));
}
if (!strcmp (what, "complete")) {
webpgPluginAPI* API = (webpgPluginAPI*) self;
API->FireEvent("onkeygencomplete", FB::variant_list_of("complete"));
}
}
|
1.7.4