Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
42
Src/Plugins/General/gen_ff/embedwndguid.h
Normal file
42
Src/Plugins/General/gen_ff/embedwndguid.h
Normal file
|
@ -0,0 +1,42 @@
|
|||
#ifndef _EMBEDWNDGUID_H
|
||||
#define _EMBEDWNDGUID_H
|
||||
|
||||
#include "../winamp/wa_ipc.h"
|
||||
|
||||
class EmbedWndGuid
|
||||
{
|
||||
public:
|
||||
EmbedWndGuid(EmbedWndGuid *wg);
|
||||
EmbedWndGuid(embedWindowState *ws);
|
||||
GUID getGuid() { return guid; }
|
||||
embedWindowState *getEmbedWindowState() { return ws; }
|
||||
void setGuid(GUID g) { guid = g; }
|
||||
HWND getHWND() { return hwnd; }
|
||||
void setHWND(HWND w) { hwnd = w; }
|
||||
|
||||
|
||||
private:
|
||||
GUID guid;
|
||||
embedWindowState *ws;
|
||||
HWND hwnd;
|
||||
};
|
||||
|
||||
class EmbedWndGuidMgr
|
||||
{
|
||||
public:
|
||||
GUID getGuid(EmbedWndGuid *wg);
|
||||
GUID getGuid(embedWindowState *ws);
|
||||
embedWindowState *getEmbedWindowState(GUID g);
|
||||
int testGuid(GUID g);
|
||||
void retireEmbedWindowState(embedWindowState *ws);
|
||||
int getNumWindowStates();
|
||||
GUID enumWindowState(int n, embedWindowState **ws=NULL);
|
||||
|
||||
private:
|
||||
PtrList<EmbedWndGuid> table;
|
||||
|
||||
};
|
||||
|
||||
extern EmbedWndGuidMgr embedWndGuidMgr;
|
||||
|
||||
#endif // _EMBEDWNDGUID_H
|
Loading…
Add table
Add a link
Reference in a new issue