File tree Expand file tree Collapse file tree 5 files changed +23
-13
lines changed
Expand file tree Collapse file tree 5 files changed +23
-13
lines changed Original file line number Diff line number Diff line change 11#include "fastfetch.h"
2+ #include "detection/media.h"
23
34#include <string.h>
45#include <pthread.h>
Original file line number Diff line number Diff line change 1+ #pragma once
2+
3+ #ifndef FF_INCLUDED_detection_media
4+ #define FF_INCLUDED_detection_media
5+
6+ #include "fastfetch.h"
7+
8+ typedef struct FFMediaResult
9+ {
10+ FFstrbuf busNameShort ; //e.g. plasma-browser-integration
11+ FFstrbuf player ; // e.g. Google Chrome
12+ FFstrbuf song ;
13+ FFstrbuf artist ;
14+ FFstrbuf album ;
15+ FFstrbuf url ;
16+ } FFMediaResult ;
17+
18+ const FFMediaResult * ffDetectMedia (FFinstance * instance );
19+
20+ #endif
Original file line number Diff line number Diff line change @@ -189,16 +189,6 @@ typedef struct FFVulkanResult
189189 FFlist devices ; //List of FFGPUResult
190190} FFVulkanResult ;
191191
192- typedef struct FFMediaResult
193- {
194- FFstrbuf busNameShort ; //e.g. plasma-browser-integration
195- FFstrbuf player ; // e.g. Google Chrome
196- FFstrbuf song ;
197- FFstrbuf artist ;
198- FFstrbuf album ;
199- FFstrbuf url ;
200- } FFMediaResult ;
201-
202192//////////////////////
203193// Init functions //
204194//////////////////////
@@ -226,9 +216,6 @@ void ffLogoBuiltinListAutocompletion();
226216// Detection functions //
227217/////////////////////////
228218
229- //detection/media.c
230- const FFMediaResult * ffDetectMedia (FFinstance * instance );
231-
232219//detection/vulkan.c
233220const FFVulkanResult * ffDetectVulkan (const FFinstance * instance );
234221
Original file line number Diff line number Diff line change 11#include "fastfetch.h"
22#include "common/printing.h"
3+ #include "detection/media.h"
34
45#include <ctype.h>
56
Original file line number Diff line number Diff line change 11#include "fastfetch.h"
22#include "common/printing.h"
3+ #include "detection/media.h"
34
45#include <ctype.h>
56
You can’t perform that action at this time.
0 commit comments