//=========================================================================
//  Copyright (c) Kitware, Inc.
//  All rights reserved.
//  See LICENSE.txt for details.
//
//  This software is distributed WITHOUT ANY WARRANTY; without even
//  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
//  PURPOSE.  See the above copyright notice for more information.
//=========================================================================

#include "smtkPluginInitializer@_smtk_plugin_autostart_name@.h"

#include "@_smtk_plugin_REGISTRAR_HEADER@"

#include "smtk/plugin/Client.txx"

#include <memory>

namespace smtk
{
namespace plugin
{
namespace init
{

using Client = smtk::plugin::Client<
  @_smtk_plugin_REGISTRAR@,
  @_smtk_plugin_managers@
>;

static std::shared_ptr<Client> myClient;

void @_smtk_plugin_autostart_name@()
{
  myClient = std::dynamic_pointer_cast<Client>(Client::create());
}

}
}
}
