diff options
author | Jef <jef@targetspot.com> | 2024-09-24 08:54:57 -0400 |
---|---|---|
committer | Jef <jef@targetspot.com> | 2024-09-24 08:54:57 -0400 |
commit | 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (patch) | |
tree | 12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/Plugins/General/gen_ml/sendto.h | |
parent | 537bcbc86291b32fc04ae4133ce4d7cac8ebe9a7 (diff) | |
download | winamp-20d28e80a5c861a9d5f449ea911ab75b4f37ad0d.tar.gz |
Initial community commit
Diffstat (limited to 'Src/Plugins/General/gen_ml/sendto.h')
-rw-r--r-- | Src/Plugins/General/gen_ml/sendto.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Src/Plugins/General/gen_ml/sendto.h b/Src/Plugins/General/gen_ml/sendto.h new file mode 100644 index 00000000..e8097e4f --- /dev/null +++ b/Src/Plugins/General/gen_ml/sendto.h @@ -0,0 +1,31 @@ +#ifndef _SENDTO_H_ +#define _SENDTO_H_ + +class SendToMenu +{ +public: + SendToMenu(); + ~SendToMenu(); + void buildmenu(HMENU hMenu, int type, int simple, int true_type=0, int start=0x1500, int len=0x1500); + int isourcmd(int id); + int handlecmd(HWND hwndParent, int id, int type, void *data); // returns 1 if handled, 0 if not + + void onAddItem(mlAddToSendToStruct *ptr); + void onAddItem(mlAddToSendToStructW *ptr); + + void startBranch(); + void addItemToBranch(mlAddToSendToStructW *ptr); + void endBranch(const wchar_t *name); + +private: + HMENU _hm; + HMENU branch; + int branch_pos; + int _pos,_len,_start; + int m_start, m_len; + int m_addtolibrary; + int activePlaylist; + int plugin_start, plugin_len; +}; + +#endif//_SENDTO_H_
\ No newline at end of file |