2023-03-06 14:42:04 +01:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
// Copyright The Music Player Daemon Project
|
2014-12-12 13:47:57 +01:00
|
|
|
|
|
|
|
#ifndef MPD_STICKER_MATCH_HXX
|
|
|
|
#define MPD_STICKER_MATCH_HXX
|
|
|
|
|
|
|
|
enum class StickerOperator {
|
|
|
|
/**
|
|
|
|
* Matches if a sticker with the specified name exists. The
|
|
|
|
* "value" parameter is ignored (must be nullptr).
|
|
|
|
*/
|
|
|
|
EXISTS,
|
2014-12-12 22:12:19 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Matches if a sticker with the specified name and value
|
|
|
|
* exists.
|
|
|
|
*/
|
|
|
|
EQUALS,
|
2014-12-12 22:26:04 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Matches if a sticker with the specified name exists with a
|
|
|
|
* value smaller than the specified one.
|
|
|
|
*/
|
|
|
|
LESS_THAN,
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Matches if a sticker with the specified name exists with a
|
|
|
|
* value bigger than the specified one.
|
|
|
|
*/
|
|
|
|
GREATER_THAN,
|
2014-12-12 13:47:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|