Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/Wasabi/api/wnd/dragitem.h
2024-09-24 14:54:57 +02:00

24 lines
476 B
C++

#ifndef _DRAGITEM_H
#define _DRAGITEM_H
#include <bfc/dispatch.h>
// has 1 or more pointers to a named data type
class NOVTABLE DragItem : public Dispatchable
{
public:
const wchar_t *getDatatype() { return _call(GETDATATYPE, L""); }
int getNumData() { return _call(GETNUMDATA, 0); }
void *getDatum(int pos = 0) { return _call(GETDATUM, (void*)NULL, pos); }
protected:
DISPATCH_CODES
{
GETDATATYPE = 100,
GETNUMDATA = 200,
GETDATUM = 300
};
};
#endif