/*==============================================================================

  Program: 3D Slicer

  Copyright (c) Kitware Inc.

  See COPYRIGHT.txt
  or http://www.slicer.org/copyright/copyright.txt for details.

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

  This file was originally developed by Julien Finet, Kitware Inc.
  and was partially funded by NIH grant 3P41RR013218-12S1

==============================================================================*/

// Slicer includes
#include "qSlicerEventBrokerModule.h"
#include "qSlicerEventBrokerModuleWidget.h"

//-----------------------------------------------------------------------------
class qSlicerEventBrokerModulePrivate
{
public:
};

//-----------------------------------------------------------------------------
qSlicerEventBrokerModule::qSlicerEventBrokerModule(QObject* _parent)
  : Superclass(_parent)
  , d_ptr(new qSlicerEventBrokerModulePrivate)
{
}

//-----------------------------------------------------------------------------
qSlicerEventBrokerModule::~qSlicerEventBrokerModule() = default;

//-----------------------------------------------------------------------------
qSlicerAbstractModuleRepresentation* qSlicerEventBrokerModule::createWidgetRepresentation()
{
  return new qSlicerEventBrokerModuleWidget;
}

//-----------------------------------------------------------------------------
vtkMRMLAbstractLogic* qSlicerEventBrokerModule::createLogic()
{
  return nullptr;
}

//-----------------------------------------------------------------------------
QStringList qSlicerEventBrokerModule::categories() const
{
  return QStringList() << qSlicerAbstractCoreModule::tr("Developer Tools");
}

//-----------------------------------------------------------------------------
QString qSlicerEventBrokerModule::helpText() const
{
  QString help = tr("Profiling tool for the developers.");
  help += this->defaultDocumentationLink();
  return help;
}

//-----------------------------------------------------------------------------
QString qSlicerEventBrokerModule::acknowledgementText() const
{
  QString acknowledgement = tr("This module was developed by Julien Finet, Kitware Inc. "
                               "This work was supported by NIH grant 3P41RR013218-12S1, "
                               "NA-MIC, NAC and Slicer community.");
  return acknowledgement;
}

//-----------------------------------------------------------------------------
QStringList qSlicerEventBrokerModule::contributors() const
{
  QStringList contributors;
  contributors << QString("Julien Finet (Kitware)");
  return contributors;
}
