Forked from
Eclipse Projects / Eclipse openpass / opSimulation
This fork has diverged from the upstream repository.
-
Dmitri Fix authored
upgrade and reorganize gui; cmake for gui; add plugins for time series plot and statistics; extend project plugin functionality (generic sim start); exclude two unused plugins from build; apply clang style
Dmitri Fix authoredupgrade and reorganize gui; cmake for gui; add plugins for time series plot and statistics; extend project plugin functionality (generic sim start); exclude two unused plugins from build; apply clang style
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
PluginInterface.h 1.21 KiB
/******************************************************************************
* Copyright (c) 2017 Volkswagen Group of America.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
******************************************************************************/
//-----------------------------------------------------------------------------
//! @file PluginInterface.h
//! @brief ...
//!
//-----------------------------------------------------------------------------
#ifndef PLUGININTERFACE_H
#define PLUGININTERFACE_H
#include <QtPlugin>
#include "openPASS/ServiceManagerInterface.h"
class PluginInterface
{
public:
virtual ~PluginInterface() = default;
public:
virtual bool services(ServiceManagerInterface *const services)
{
ServiceManagerInterface::instance(services);
return true;
}
public:
virtual bool initialize()
{
return true;
}
virtual bool deinitialize()
{
return true;
}
};
Q_DECLARE_INTERFACE(PluginInterface, "openPASS.PluginInterface")
#endif // PLUGININTERFACE_H