default arguments; refs #28

master
Marc Wäckerlin 11 years ago
parent cbef3c6e8c
commit 27569fd1d2
  1. 6
      doc/examples/suisse-id-demo.cxx
  2. 4
      src/cryptoki.hxx

@ -17,11 +17,7 @@ int main(int argc, char** argv) try {
mrw::args::parse(argc, argv, mrw::args::parse(argc, argv,
"Sign a text (optionally several times for performance" "Sign a text (optionally several times for performance"
" measurements).", " measurements).",
mrw::args::list() mrw::args::defaults()
<<mrw::args::decl("h", "help", "show help",
mrw::args::decl::param_list()
<<mrw::args::help()
<<mrw::args::exit())
<<mrw::args::decl("l", "library", "cryptoki lirary to load", <<mrw::args::decl("l", "library", "cryptoki lirary to load",
mrw::args::decl::param_list() mrw::args::decl::param_list()
<<mrw::args::param(lib, "lib"))); <<mrw::args::param(lib, "lib")));

@ -624,7 +624,7 @@ namespace cryptoki {
/*! @addtogroup cryptokilib */ /*! @addtogroup cryptokilib */
//@{ //@{
//! to be instanciated before first use /// Load Cryptoki Library for use with Smart Card.
class Library { class Library {
public: public:
@ -768,7 +768,7 @@ namespace cryptoki {
mrw::Shared<Init> _init; mrw::Shared<Init> _init;
}; };
//! Slot and Token Management //! Slot and Token Management
class Slot { class Slot {
private: private:

Loading…
Cancel
Save