Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
hpp-gui
Commits
7c448ca8
Commit
7c448ca8
authored
Aug 23, 2018
by
Joseph Mirabel
Committed by
Joseph Mirabel
Aug 23, 2018
Browse files
Delete plugintest
parent
a2b9463d
Changes
4
Hide whitespace changes
Inline
Side-by-side
plugins/CMakeLists.txt
View file @
7c448ca8
...
...
@@ -31,7 +31,6 @@ SET(BUILD_HPP_WIDGETS_PLUGIN ${HPP_CORBASERVER_FOUND}
SET
(
BUILD_HPP_MANIPULATION_WIDGETS_PLUGIN
${
HPP_MANIPULATION_CORBA_FOUND
}
CACHE BOOL
"Build hppmanipulationwidgetsplugin"
)
#ADD_SUBDIRECTORY(plugintest)
IF
(
HPP_CORBASERVER_FOUND
)
IF
(
REMOTEIMU_FOUND AND BUILD_REMOTEIMU_PLUGIN
)
ADD_SUBDIRECTORY
(
remoteimuplugin
)
...
...
plugins/plugintest/CMakeLists.txt
deleted
100644 → 0
View file @
a2b9463d
#
# Copyright (c) 2015 CNRS
# Authors: Joseph Mirabel
#
#
# This file is part of hpp-gui
# hpp-gui is free software: you can redistribute it
# and/or modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation, either version
# 3 of the License, or (at your option) any later version.
#
# hpp-gui 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 Lesser Public License for more details. You should have
# received a copy of the GNU Lesser General Public License along with
# hpp-gui If not, see
# <http://www.gnu.org/licenses/>.
SET
(
PLUGIN_NAME plugintest
)
SET
(
${
PLUGIN_NAME
}
_HEADERS_NO_MOC
../../include/hpp/gui/plugin-interface.hh
)
SET
(
${
PLUGIN_NAME
}
_HEADERS
test.hh
)
SET
(
${
PLUGIN_NAME
}
_FORMS
)
SET
(
${
PLUGIN_NAME
}
_RESOURCES
)
QT4_WRAP_CPP
(
${
PLUGIN_NAME
}
_HEADERS_MOC
${${
PLUGIN_NAME
}
_HEADERS
}
OPTIONS -I
${
GEPETTO_VIEWER_CORBA_INCLUDEDIR
}
)
QT4_WRAP_UI
(
${
PLUGIN_NAME
}
_FORMS_HEADERS
${${
PLUGIN_NAME
}
_FORMS
}
)
QT4_ADD_RESOURCES
(
${
PLUGIN_NAME
}
_RESOURCES_RCC
${${
PLUGIN_NAME
}
_RESOURCES
}
)
INCLUDE_DIRECTORIES
(
${
CMAKE_CURRENT_SOURCE_DIR
}
)
INCLUDE
(
${
QT_USE_FILE
}
)
ADD_DEFINITIONS
(
${
QT_DEFINITIONS
}
)
ADD_DEFINITIONS
(
-DQT_PLUGIN
)
ADD_DEFINITIONS
(
-DQT_NO_DEBUG
)
ADD_DEFINITIONS
(
-DQT_SHARED
)
SET
(
${
PLUGIN_NAME
}
_SOURCES
test.cc
)
ADD_LIBRARY
(
${
PLUGIN_NAME
}
SHARED
${${
PLUGIN_NAME
}
_SOURCES
}
${${
PLUGIN_NAME
}
_HEADERS_NO_MOC
}
${${
PLUGIN_NAME
}
_HEADERS_MOC
}
${${
PLUGIN_NAME
}
_FORMS_HEADERS
}
${${
PLUGIN_NAME
}
_RESOURCES_RCC
}
)
TARGET_LINK_LIBRARIES
(
${
PLUGIN_NAME
}
${
QT_LIBRARIES
}
)
# Uncomment to install
#INSTALL(TARGETS ${PLUGIN_NAME} DESTINATION lib)
plugins/plugintest/test.cc
deleted
100644 → 0
View file @
a2b9463d
//
// Copyright (c) CNRS
// Authors: Joseph Mirabel
//
#include
<test.hh>
#include
<QtPlugin>
namespace
hpp
{
namespace
gui
{
void
TestPlugin
::
init
()
{
qDebug
()
<<
"test"
;
std
::
cout
<<
"test"
<<
std
::
endl
;
}
Q_EXPORT_PLUGIN2
(
testplugin
,
TestPlugin
)
}
// namespace gui
}
// namespace hpp
plugins/plugintest/test.hh
deleted
100644 → 0
View file @
a2b9463d
//
// Copyright (c) CNRS
// Author: Joseph Mirabel
//
#include
<QObject>
#include
<QWidget>
#include
<iostream>
#include
<gepetto/gui/plugin-interface.hh>
namespace
hpp
{
namespace
gui
{
class
TestPlugin
:
public
QObject
,
public
PluginInterface
{
Q_OBJECT
Q_INTERFACES
(
PluginInterface
)
public:
void
init
();
};
}
// namespace gui
}
// namespace hpp
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment