Skip to content
Snippets Groups Projects
Commit e34b4de5 authored by Dallin Nickel (djn011)'s avatar Dallin Nickel (djn011)
Browse files

Revert "Merge branch 'prototype' into 'master'"

This reverts merge request !37
parent afe9579b
Branches revert-afe9579b
No related tags found
2 merge requests!48Feature detect program/launch application,!39Revert "Merge branch 'prototype' into 'master'"
......@@ -14,7 +14,7 @@ public class Action extends Hotkey implements InputEmulator{
* @param id The unique ID of the hotkey.
* @param modifier The modifier of the hotkey.
*/
public Action(int keyCode, int id, int modifier) throws AWTException {
public Action(int keyCode, int id, Modifier modifier) throws AWTException {
super(keyCode, id, modifier);
this.robot = new Robot();
......
......@@ -14,7 +14,7 @@ public class Hotkey {
/**
* Modifier for the hotkey.
*/
protected final int modifier;
protected final Modifier modifier;
/**
* Constructs an immutable hotkey.
......@@ -22,7 +22,7 @@ public class Hotkey {
* @param id The unique ID of the hotkey.
* @param modifier The modifier of the hotkey.
*/
public Hotkey(int keyCode, int id, int modifier) {
public Hotkey(int keyCode, int id, Modifier modifier) {
this.keyCode = keyCode;
this.id = id;
this.modifier = modifier;
......@@ -45,7 +45,7 @@ public class Hotkey {
/**
* Get's the hotkey's modifier.
*/
public int getModifier() {
public Modifier getModifier() {
return modifier;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment