mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 08:05:45 -04:00
Initial community commit
This commit is contained in:
35
Src/Wasabi/api/skin/widgets/db/xuiqueryline.h
Normal file
35
Src/Wasabi/api/skin/widgets/db/xuiqueryline.h
Normal file
@ -0,0 +1,35 @@
|
||||
#ifndef _XUIQUERYLINE_H
|
||||
#define _XUIQUERYLINE_H
|
||||
|
||||
#include <api/skin/widgets/db/queryline.h>
|
||||
|
||||
#define SCRIPTQUERYLINE_PARENT QueryLine
|
||||
class ScriptQueryLine : public SCRIPTQUERYLINE_PARENT {
|
||||
public:
|
||||
ScriptQueryLine();
|
||||
virtual ~ScriptQueryLine();
|
||||
|
||||
//virtual int onInit();
|
||||
|
||||
virtual int setXuiParam(int xuihandle, int xmlattributeid, const wchar_t *xmlattributename, const wchar_t *value);
|
||||
void setXuiQueryList(const char *v);
|
||||
|
||||
//virtual int onDeferredCallback(intptr_t p1, intptr_t p2);
|
||||
|
||||
private:
|
||||
enum {
|
||||
QUERYLINE_SETQUERYLIST=1,
|
||||
QUERYLINE_SETQUERY,
|
||||
QUERYLINE_SETAUTO,
|
||||
};
|
||||
void ql_setQuery(const char *);
|
||||
void ensureConnected();
|
||||
int myxuihandle;
|
||||
String querylist_id;
|
||||
};
|
||||
|
||||
extern char QueryLineXuiObjectStr[];
|
||||
extern char QueryLineXuiSvcName[];
|
||||
class QueryLineXuiSvc : public XuiObjectSvc<ScriptQueryLine, QueryLineXuiObjectStr, QueryLineXuiSvcName> {};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user