ProteoWizard
Static Public Member Functions
pwiz::util::ClickwrapPrompter Class Reference

a barrier to force end users to agree/disagree to a prompt before continuing More...

#include <ClickwrapPrompter.hpp>

List of all members.

Static Public Member Functions

static bool prompt (const std::string &caption, const std::string &text, const std::string &oneTimeKey="")
 shows a modal dialog with the specified caption, text, and Agree/Disagree buttons; returns true iff the user clicked the Agree button; if oneTimeKey is non-empty, all calls with that key after the user has agreed will be ignored

Detailed Description

a barrier to force end users to agree/disagree to a prompt before continuing

Definition at line 36 of file ClickwrapPrompter.hpp.


Member Function Documentation

static bool pwiz::util::ClickwrapPrompter::prompt ( const std::string &  caption,
const std::string &  text,
const std::string &  oneTimeKey = "" 
)
static

shows a modal dialog with the specified caption, text, and Agree/Disagree buttons; returns true iff the user clicked the Agree button; if oneTimeKey is non-empty, all calls with that key after the user has agreed will be ignored

Referenced by test().


The documentation for this class was generated from the following file: