
/*

  KLayout Layout Viewer
  Copyright (C) 2006-2026 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 gsiDeclQAudio.cc 
*
*  DO NOT EDIT THIS FILE. 
*  This file has been created automatically
*/

#include <QAudio>
#include "gsiQt.h"
#include "gsiQtMultimediaCommon.h"
#include <memory>

// -----------------------------------------------------------------------
// namespace QAudio

class QAudio_Namespace { };

namespace gsi
{
gsi::Class<QAudio_Namespace> decl_QAudio_Namespace ("QtMultimedia", "QAudio",
  gsi::Methods(),
  "@qt\n@brief This class represents the QAudio namespace");
}


//  Implementation of the enum wrapper class for QAudio::Error
namespace qt_gsi
{

static gsi::Enum<QAudio::Error> decl_QAudio_Error_Enum ("QtMultimedia", "QAudio_Error",
    gsi::enum_const ("NoError", QAudio::NoError, "@brief Enum constant QAudio::NoError") +
    gsi::enum_const ("OpenError", QAudio::OpenError, "@brief Enum constant QAudio::OpenError") +
    gsi::enum_const ("IOError", QAudio::IOError, "@brief Enum constant QAudio::IOError") +
    gsi::enum_const ("UnderrunError", QAudio::UnderrunError, "@brief Enum constant QAudio::UnderrunError") +
    gsi::enum_const ("FatalError", QAudio::FatalError, "@brief Enum constant QAudio::FatalError"),
  "@qt\n@brief This class represents the QAudio::Error enum");

static gsi::QFlagsClass<QAudio::Error > decl_QAudio_Error_Enums ("QtMultimedia", "QAudio_QFlags_Error",
  "@qt\n@brief This class represents the QFlags<QAudio::Error> flag set");

//  Inject the declarations into the parent
static gsi::ClassExt<QAudio_Namespace> inject_QAudio_Error_Enum_in_parent (decl_QAudio_Error_Enum.defs ());
static gsi::ClassExt<QAudio_Namespace> decl_QAudio_Error_Enum_as_child (decl_QAudio_Error_Enum, "Error");
static gsi::ClassExt<QAudio_Namespace> decl_QAudio_Error_Enums_as_child (decl_QAudio_Error_Enums, "QFlags_Error");

}


//  Implementation of the enum wrapper class for QAudio::State
namespace qt_gsi
{

static gsi::Enum<QAudio::State> decl_QAudio_State_Enum ("QtMultimedia", "QAudio_State",
    gsi::enum_const ("ActiveState", QAudio::ActiveState, "@brief Enum constant QAudio::ActiveState") +
    gsi::enum_const ("SuspendedState", QAudio::SuspendedState, "@brief Enum constant QAudio::SuspendedState") +
    gsi::enum_const ("StoppedState", QAudio::StoppedState, "@brief Enum constant QAudio::StoppedState") +
    gsi::enum_const ("IdleState", QAudio::IdleState, "@brief Enum constant QAudio::IdleState"),
  "@qt\n@brief This class represents the QAudio::State enum");

static gsi::QFlagsClass<QAudio::State > decl_QAudio_State_Enums ("QtMultimedia", "QAudio_QFlags_State",
  "@qt\n@brief This class represents the QFlags<QAudio::State> flag set");

//  Inject the declarations into the parent
static gsi::ClassExt<QAudio_Namespace> inject_QAudio_State_Enum_in_parent (decl_QAudio_State_Enum.defs ());
static gsi::ClassExt<QAudio_Namespace> decl_QAudio_State_Enum_as_child (decl_QAudio_State_Enum, "State");
static gsi::ClassExt<QAudio_Namespace> decl_QAudio_State_Enums_as_child (decl_QAudio_State_Enums, "QFlags_State");

}


//  Implementation of the enum wrapper class for QAudio::VolumeScale
namespace qt_gsi
{

static gsi::Enum<QAudio::VolumeScale> decl_QAudio_VolumeScale_Enum ("QtMultimedia", "QAudio_VolumeScale",
    gsi::enum_const ("LinearVolumeScale", QAudio::LinearVolumeScale, "@brief Enum constant QAudio::LinearVolumeScale") +
    gsi::enum_const ("CubicVolumeScale", QAudio::CubicVolumeScale, "@brief Enum constant QAudio::CubicVolumeScale") +
    gsi::enum_const ("LogarithmicVolumeScale", QAudio::LogarithmicVolumeScale, "@brief Enum constant QAudio::LogarithmicVolumeScale") +
    gsi::enum_const ("DecibelVolumeScale", QAudio::DecibelVolumeScale, "@brief Enum constant QAudio::DecibelVolumeScale"),
  "@qt\n@brief This class represents the QAudio::VolumeScale enum");

static gsi::QFlagsClass<QAudio::VolumeScale > decl_QAudio_VolumeScale_Enums ("QtMultimedia", "QAudio_QFlags_VolumeScale",
  "@qt\n@brief This class represents the QFlags<QAudio::VolumeScale> flag set");

//  Inject the declarations into the parent
static gsi::ClassExt<QAudio_Namespace> inject_QAudio_VolumeScale_Enum_in_parent (decl_QAudio_VolumeScale_Enum.defs ());
static gsi::ClassExt<QAudio_Namespace> decl_QAudio_VolumeScale_Enum_as_child (decl_QAudio_VolumeScale_Enum, "VolumeScale");
static gsi::ClassExt<QAudio_Namespace> decl_QAudio_VolumeScale_Enums_as_child (decl_QAudio_VolumeScale_Enums, "QFlags_VolumeScale");

}

