The media keys were only in the keyboard shortcuts file because their implementation was the same. With Linux support incoming their implementations are not necessarily the same.
19 lines
381 B
C++
19 lines
381 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
#include <QString>
|
|
|
|
namespace keyboardinput
|
|
{
|
|
/*!
|
|
Represents the state of a keyboard button press. Can be either Up or Down.
|
|
|
|
Implemented because neither Qt nor Windows.h included a sensible key state enum.
|
|
*/
|
|
void sendMediaNextSong();
|
|
void sendMediaPreviousSong();
|
|
void sendMediaPausePlay();
|
|
void sendMediaStopSong();
|
|
|
|
} // namespace keyboardinput
|