mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-04 20:24:19 +01:00
23 lines
455 B
C
23 lines
455 B
C
#pragma once
|
|
|
|
#ifndef FF_INCLUDED_detection_media
|
|
#define FF_INCLUDED_detection_media
|
|
|
|
#include "fastfetch.h"
|
|
|
|
typedef struct FFMediaResult
|
|
{
|
|
FFstrbuf error;
|
|
FFstrbuf busNameShort; //e.g. plasma-browser-integration
|
|
FFstrbuf player; // e.g. Google Chrome
|
|
FFstrbuf song;
|
|
FFstrbuf artist;
|
|
FFstrbuf album;
|
|
FFstrbuf url;
|
|
FFstrbuf status;
|
|
} FFMediaResult;
|
|
|
|
const FFMediaResult* ffDetectMedia(const FFinstance* instance);
|
|
|
|
#endif
|