
/*

  KLayout Layout Viewer
  Copyright (C) 2006-2025 Matthias Koefferlein

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

*/

/**
*  @file gsiDeclQDtlsClientVerifier_GeneratorParameters.cc 
*
*  DO NOT EDIT THIS FILE. 
*  This file has been created automatically
*/

#include <QDtlsClientVerifier>
#include "gsiQt.h"
#include "gsiQtNetworkCommon.h"
#include <memory>

// -----------------------------------------------------------------------
// struct QDtlsClientVerifier::GeneratorParameters

//  Constructor QDtlsClientVerifier::GeneratorParameters::GeneratorParameters()


static void _init_ctor_QDtlsClientVerifier_GeneratorParameters_0 (qt_gsi::GenericStaticMethod *decl)
{
  decl->set_return_new<QDtlsClientVerifier::GeneratorParameters> ();
}

static void _call_ctor_QDtlsClientVerifier_GeneratorParameters_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  __SUPPRESS_UNUSED_WARNING(args);
  ret.write<QDtlsClientVerifier::GeneratorParameters *> (new QDtlsClientVerifier::GeneratorParameters ());
}


//  Constructor QDtlsClientVerifier::GeneratorParameters::GeneratorParameters(QCryptographicHash::Algorithm a, const QByteArray &s)


static void _init_ctor_QDtlsClientVerifier_GeneratorParameters_5532 (qt_gsi::GenericStaticMethod *decl)
{
  static gsi::ArgSpecBase argspec_0 ("a");
  decl->add_arg<const qt_gsi::Converter<QCryptographicHash::Algorithm>::target_type & > (argspec_0);
  static gsi::ArgSpecBase argspec_1 ("s");
  decl->add_arg<const QByteArray & > (argspec_1);
  decl->set_return_new<QDtlsClientVerifier::GeneratorParameters> ();
}

static void _call_ctor_QDtlsClientVerifier_GeneratorParameters_5532 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) 
{
  __SUPPRESS_UNUSED_WARNING(args);
  tl::Heap heap;
  const qt_gsi::Converter<QCryptographicHash::Algorithm>::target_type & arg1 = gsi::arg_reader<const qt_gsi::Converter<QCryptographicHash::Algorithm>::target_type & >() (args, heap);
  const QByteArray &arg2 = gsi::arg_reader<const QByteArray & >() (args, heap);
  ret.write<QDtlsClientVerifier::GeneratorParameters *> (new QDtlsClientVerifier::GeneratorParameters (qt_gsi::QtToCppAdaptor<QCryptographicHash::Algorithm>(arg1).cref(), arg2));
}



namespace gsi
{

static gsi::Methods methods_QDtlsClientVerifier_GeneratorParameters () {
  gsi::Methods methods;
  methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDtlsClientVerifier::GeneratorParameters::GeneratorParameters()\nThis method creates an object of class QDtlsClientVerifier::GeneratorParameters.", &_init_ctor_QDtlsClientVerifier_GeneratorParameters_0, &_call_ctor_QDtlsClientVerifier_GeneratorParameters_0);
  methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDtlsClientVerifier::GeneratorParameters::GeneratorParameters(QCryptographicHash::Algorithm a, const QByteArray &s)\nThis method creates an object of class QDtlsClientVerifier::GeneratorParameters.", &_init_ctor_QDtlsClientVerifier_GeneratorParameters_5532, &_call_ctor_QDtlsClientVerifier_GeneratorParameters_5532);
  return methods;
}

gsi::Class<QDtlsClientVerifier::GeneratorParameters> decl_QDtlsClientVerifier_GeneratorParameters ("QtNetwork", "QDtlsClientVerifier_GeneratorParameters",
  methods_QDtlsClientVerifier_GeneratorParameters (),
  "@qt\n@brief Binding of QDtlsClientVerifier::GeneratorParameters");

gsi::ClassExt<QDtlsClientVerifier> decl_QDtlsClientVerifier_GeneratorParameters_as_child (decl_QDtlsClientVerifier_GeneratorParameters, "GeneratorParameters");

GSI_QTNETWORK_PUBLIC gsi::Class<QDtlsClientVerifier::GeneratorParameters> &qtdecl_QDtlsClientVerifier_GeneratorParameters () { return decl_QDtlsClientVerifier_GeneratorParameters; }

}

