changed things ♿
This commit is contained in:
1
FlippR-Driver/.gitignore
vendored
1
FlippR-Driver/.gitignore
vendored
@@ -1,3 +1,4 @@
|
|||||||
build
|
build
|
||||||
src/Debug
|
src/Debug
|
||||||
/Debug/
|
/Debug/
|
||||||
|
.settings/*
|
||||||
|
|||||||
@@ -1,28 +1,15 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<project>
|
<project>
|
||||||
|
<configuration id="cdt.managedbuild.toolchain.gnu.base.1201473626" name="Default">
|
||||||
<configuration id="cdt.managedbuild.toolchain.gnu.base.1201473626" name="Default">
|
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
|
||||||
|
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
||||||
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
|
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
|
||||||
|
<provider copy-of="extension" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"/>
|
||||||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="-525411911894964134" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
||||||
|
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
||||||
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
|
<language-scope id="org.eclipse.cdt.core.g++"/>
|
||||||
|
</provider>
|
||||||
<provider copy-of="extension" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"/>
|
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
||||||
|
</extension>
|
||||||
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="709603775115835139" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
</configuration>
|
||||||
|
|
||||||
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
|
||||||
|
|
||||||
<language-scope id="org.eclipse.cdt.core.g++"/>
|
|
||||||
|
|
||||||
</provider>
|
|
||||||
|
|
||||||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
|
||||||
|
|
||||||
</extension>
|
|
||||||
|
|
||||||
</configuration>
|
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
@@ -11,11 +11,11 @@
|
|||||||
|
|
||||||
#ifndef INPUTEVENTHANDLER_H_
|
#ifndef INPUTEVENTHANDLER_H_
|
||||||
#define INPUTEVENTHANDLER_H_
|
#define INPUTEVENTHANDLER_H_
|
||||||
#include "IEventHandler.h"
|
|
||||||
|
|
||||||
#include "Event.hpp"
|
#include "Event.hpp"
|
||||||
#include "IInputDriver.h"
|
#include "IInputDriver.h"
|
||||||
|
|
||||||
|
#include "../utilities/IEventHandler.h"
|
||||||
#include "../utilities/config.h"
|
#include "../utilities/config.h"
|
||||||
|
|
||||||
namespace Input
|
namespace Input
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
*/
|
*/
|
||||||
#ifndef SRC_INPUT_INPUTDRIVER_HPP_
|
#ifndef SRC_INPUT_INPUTDRIVER_HPP_
|
||||||
#define SRC_INPUT_INPUTDRIVER_HPP_
|
#define SRC_INPUT_INPUTDRIVER_HPP_
|
||||||
#include "IInputDriver.h"
|
|
||||||
|
|
||||||
#include "../utilities/config.h"
|
#include "../utilities/config.h"
|
||||||
|
|
||||||
|
#include "IInputDriver.h"
|
||||||
#include "IDetector.h"
|
#include "IDetector.h"
|
||||||
|
|
||||||
namespace Input
|
namespace Input
|
||||||
|
|||||||
24
FlippR-Driver/src/output/EventHandler.cpp
Normal file
24
FlippR-Driver/src/output/EventHandler.cpp
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
/*
|
||||||
|
* EventHandler.cpp
|
||||||
|
*
|
||||||
|
* Created on: Jun 14, 2018
|
||||||
|
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert, Rafael Vinci, Dr. Franca Rupprecht
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "EventHandler.h"
|
||||||
|
|
||||||
|
namespace output
|
||||||
|
{
|
||||||
|
|
||||||
|
EventHandler::EventHandler ()
|
||||||
|
{
|
||||||
|
// TODO Auto-generated constructor stub
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
EventHandler::~EventHandler ()
|
||||||
|
{
|
||||||
|
// TODO Auto-generated destructor stub
|
||||||
|
}
|
||||||
|
|
||||||
|
} /* namespace output */
|
||||||
28
FlippR-Driver/src/output/EventHandler.h
Normal file
28
FlippR-Driver/src/output/EventHandler.h
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
/*
|
||||||
|
* EventHandler.h
|
||||||
|
*
|
||||||
|
* Created on: Jun 14, 2018
|
||||||
|
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert, Rafael Vinci, Dr. Franca Rupprecht
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include "../utilities/IEventHandler.h"
|
||||||
|
|
||||||
|
#ifndef SRC_OUTPUT_EVENTHANDLER_H_
|
||||||
|
#define SRC_OUTPUT_EVENTHANDLER_H_
|
||||||
|
|
||||||
|
namespace output
|
||||||
|
{
|
||||||
|
|
||||||
|
class EventHandler : public IEventHandler
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
EventHandler();
|
||||||
|
virtual ~EventHandler();
|
||||||
|
|
||||||
|
virtual void handle() override;
|
||||||
|
};
|
||||||
|
|
||||||
|
} /* namespace output */
|
||||||
|
|
||||||
|
#endif /* SRC_OUTPUT_EVENTHANDLER_H_ */
|
||||||
@@ -5,20 +5,17 @@
|
|||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert, Rafael Vinci, Dr. Franca Rupprecht
|
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert, Rafael Vinci, Dr. Franca Rupprecht
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SRC_INPUT_IEVENTHANDLER_H_
|
#ifndef SRC_IEVENTHANDLER_H_
|
||||||
#define SRC_INPUT_IEVENTHANDLER_H_
|
#define SRC_IEVENTHANDLER_H_
|
||||||
|
|
||||||
#include "Event.hpp"
|
#include "../input/Event.hpp"
|
||||||
|
|
||||||
namespace Input {
|
|
||||||
|
|
||||||
class IEventHandler
|
class IEventHandler
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~IEventHandler() = 0;
|
virtual ~IEventHandler() = 0;
|
||||||
|
|
||||||
virtual void handle(Event& event) = 0;
|
virtual void handle(Input::Event& event) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
#endif /* SRC_IEVENTHANDLER_H_ */
|
||||||
#endif /* SRC_INPUT_IEVENTHANDLER_H_ */
|
|
||||||
Reference in New Issue
Block a user