From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/playlist/ifc_plentryinfo.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Src/playlist/ifc_plentryinfo.h (limited to 'Src/playlist/ifc_plentryinfo.h') diff --git a/Src/playlist/ifc_plentryinfo.h b/Src/playlist/ifc_plentryinfo.h new file mode 100644 index 00000000..f8c767a9 --- /dev/null +++ b/Src/playlist/ifc_plentryinfo.h @@ -0,0 +1,28 @@ +#ifndef NULLSOFT_IFC_PLENTRYINFO_H +#define NULLSOFT_IFC_PLENTRYINFO_H + +#include +#include + +class ifc_plentryinfo : public Dispatchable +{ +protected: + ifc_plentryinfo() {} + ~ifc_plentryinfo() {} + +public: + // TODO: you can't guarantee that this wchar_t * pointer will last, make a copy before calling again! + const wchar_t *GetExtendedInfo( const wchar_t *parameter ); + + DISPATCH_CODES + { + IFC_PLENTRYINFO_GETEXTENDEDINFO = 10, + }; +}; + +inline const wchar_t *ifc_plentryinfo::GetExtendedInfo( const wchar_t *parameter ) +{ + return _call( IFC_PLENTRYINFO_GETEXTENDEDINFO, (const wchar_t *)0, parameter ); +} + +#endif \ No newline at end of file -- cgit