Skip to content
Snippets Groups Projects
Commit 68f1274f authored by NikolaBabic's avatar NikolaBabic
Browse files

Revert "Delete HotkeyRegistration.java"

This reverts commit df676635
parent 5ff08867
No related branches found
No related tags found
No related merge requests found
package model;
public interface HotkeyRegistration {
/**
* Registers a given hotkey.
* @param hotkey The hotkey to be registered. Must contain a unique ID.
* @return If the registration was successful.
*/
boolean registerHotkey(Hotkey hotkey);
/**
* Unregisters a hotkey with the given id.
* @param id The id of the hotkey to be unregistered.
* @return If the unregistration was successful.
*/
boolean unregisterHotkey(int id);
}
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