1#ifndef MYTHTVACTIONUTILS_H
2#define MYTHTVACTIONUTILS_H
10 return std::find(Actions.cbegin(), Actions.cend(),
Action) != Actions.cend();
15 return std::any_of(
Action.cbegin(),
Action.cend(), [&](
const QString& A) { return IsActionable(A, Actions); });
An action (for this plugin) consists of a description, and a set of key sequences.
static pid_list_t::iterator find(const PIDInfoMap &map, pid_list_t &list, pid_list_t::iterator begin, pid_list_t::iterator end, bool find_open)
StereoscopicMode ActionToStereoscopic(const QString &Action)
bool IsActionable(const QString &Action, const QStringList &Actions)
#define ACTION_3DTOPANDBOTTOMDISCARD
#define ACTION_3DSIDEBYSIDEDISCARD
@ kStereoscopicModeTopAndBottomDiscard
@ kStereoscopicModeSideBySideDiscard
@ kStereoscopicModeIgnore3D