aboutsummaryrefslogtreecommitdiff
path: root/Src/devices/ifc_deviceconnectioneditor.h
diff options
context:
space:
mode:
authorJean-Francois Mauguit <jfmauguit@mac.com>2024-09-24 09:03:25 -0400
committerGitHub <noreply@github.com>2024-09-24 09:03:25 -0400
commitbab614c421ed7ae329d26bf028c4a3b1d2450f5a (patch)
tree12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/devices/ifc_deviceconnectioneditor.h
parent4bde6044fddf053f31795b9eaccdd2a5a527d21f (diff)
parent20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (diff)
downloadwinamp-bab614c421ed7ae329d26bf028c4a3b1d2450f5a.tar.gz
Merge pull request #5 from WinampDesktop/community
Merge to main
Diffstat (limited to 'Src/devices/ifc_deviceconnectioneditor.h')
-rw-r--r--Src/devices/ifc_deviceconnectioneditor.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/Src/devices/ifc_deviceconnectioneditor.h b/Src/devices/ifc_deviceconnectioneditor.h
new file mode 100644
index 00000000..6d9c5a09
--- /dev/null
+++ b/Src/devices/ifc_deviceconnectioneditor.h
@@ -0,0 +1,49 @@
+#ifndef _NULLSOFT_WINAMP_DEVICES_DEVICE_CONNECTION_EDITOR_INTERFACE_HEADER
+#define _NULLSOFT_WINAMP_DEVICES_DEVICE_CONNECTION_EDITOR_INTERFACE_HEADER
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1020)
+#pragma once
+#endif
+
+#include <bfc/platform/guid.h>
+
+// {B4CAEAF3-4488-4313-8A66-DEA916DEFCCC}
+static const GUID IFC_DeviceConnectionEditor =
+{ 0xb4caeaf3, 0x4488, 0x4313, { 0x8a, 0x66, 0xde, 0xa9, 0x16, 0xde, 0xfc, 0xcc } };
+
+
+
+#include <bfc/dispatch.h>
+
+class ifc_deviceiconstore;
+
+class __declspec(novtable) ifc_deviceconnectioneditor : public Dispatchable
+{
+protected:
+ ifc_deviceconnectioneditor() {}
+ ~ifc_deviceconnectioneditor() {}
+
+public:
+ HRESULT GetIconStore(ifc_deviceiconstore **iconStore);
+ HRESULT SetDisplayName(const wchar_t *displayName);
+
+public:
+ DISPATCH_CODES
+ {
+ API_GETICONSTORE = 10,
+ API_SETDISPLAYNAME = 20,
+ };
+};
+
+inline HRESULT ifc_deviceconnectioneditor::GetIconStore(ifc_deviceiconstore **iconStore)
+{
+ return _call(API_GETICONSTORE, (HRESULT)E_NOTIMPL, iconStore);
+}
+
+inline HRESULT ifc_deviceconnectioneditor::SetDisplayName(const wchar_t *displayName)
+{
+ return _call(API_SETDISPLAYNAME, (HRESULT)E_NOTIMPL, displayName);
+}
+
+
+#endif //_NULLSOFT_WINAMP_DEVICES_DEVICE_CONNECTION_EDITOR_INTERFACE_HEADER \ No newline at end of file