aboutsummaryrefslogtreecommitdiff
path: root/Src/Wasabi/api/skin/widgets/customobject.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/Wasabi/api/skin/widgets/customobject.h
parent4bde6044fddf053f31795b9eaccdd2a5a527d21f (diff)
parent20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (diff)
downloadwinamp-bab614c421ed7ae329d26bf028c4a3b1d2450f5a.tar.gz
Merge pull request #5 from WinampDesktop/community
Merge to main
Diffstat (limited to 'Src/Wasabi/api/skin/widgets/customobject.h')
-rw-r--r--Src/Wasabi/api/skin/widgets/customobject.h78
1 files changed, 78 insertions, 0 deletions
diff --git a/Src/Wasabi/api/skin/widgets/customobject.h b/Src/Wasabi/api/skin/widgets/customobject.h
new file mode 100644
index 00000000..5cd6a3f3
--- /dev/null
+++ b/Src/Wasabi/api/skin/widgets/customobject.h
@@ -0,0 +1,78 @@
+#ifndef __CUSTOMOBJECT_H
+#define __CUSTOMOBJECT_H
+
+#include <bfc/dispatch.h>
+#include <bfc/common.h>
+
+class ifc_window;
+
+// {F5527A4F-C910-48c2-A80B-98A60D317F35}
+const GUID customObjectGuid =
+{ 0xf5527a4f, 0xc910, 0x48c2, { 0xa8, 0xb, 0x98, 0xa6, 0xd, 0x31, 0x7f, 0x35 } };
+
+
+/**
+ Class
+
+ @short
+ @author Nullsoft
+ @ver 1.0
+ @see
+*/
+class CustomObject : public Dispatchable {
+public:
+
+ /**
+ Method
+
+ @see
+ @ret
+ @param
+ */
+ void customobject_setRootWnd(ifc_window *w);
+
+ enum {
+ CUSTOMOBJECT_SETROOTWND=10,
+ CUSTOMOBJECT_GETROOTWND=20,
+ };
+};
+
+inline void CustomObject::customobject_setRootWnd(ifc_window *w) {
+
+ /**
+ Method
+
+ @see
+ @ret
+ @param
+ */
+ _voidcall(CUSTOMOBJECT_SETROOTWND, w);
+}
+
+/**
+ Class
+
+ @short
+ @author Nullsoft
+ @ver 1.0
+ @see
+*/
+class CustomObjectI : public CustomObject {
+public:
+
+
+ /**
+ Method
+
+ @see
+ @ret
+ @param
+ */
+ virtual void customobject_setRootWnd(ifc_window *w)=0;
+
+protected:
+ RECVS_DISPATCH;
+};
+
+
+#endif