-
Notifications
You must be signed in to change notification settings - Fork 0
/
foobar.h~
56 lines (50 loc) · 1.39 KB
/
foobar.h~
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#define ID_TRAY_APP_ICON 5000
#define ID_TRAY_EXIT_CONTEXT_MENU_ITEM 3000
#define WM_TRAYICON ( WM_USER + 1 )
#define LWA_COLORKEY 0x00000001
#define LWA_ALPHA 0x00000002
#include <wininet.h>
#define WINDOW_WIDTH 250
#define WINDOW_HEIGHT 200
#include <string>
using namespace std;
typedef DWORD (WINAPI *PSLWA)(HWND, DWORD, BYTE, DWORD);
static PSLWA pSetLayeredWindowAttributes = NULL;
class Foobar
{
public:
Foobar();
HICON InitNotifyIconData(HWND form2);
void Init(HWND Foo);
HWND GetFoo();
unsigned int GetX();
unsigned int GetY();
bool GetSong();
void Fetch();
void CheckV();
bool Contains(const string iStr, const string sStr);
bool CheckOnTop(HWND hwnd);
bool Provera();
HWND FooBar;
string Lyrics;
void SetTrans(unsigned int Faktor,HWND Foo);
private:
RECT Pos;
HINTERNET hINet,hFile;
string URL;
string tempURL;
char *Buffer;
string tBuffer;
DWORD dwRead;
unsigned int Position;
size_t Kraj;
size_t DivLyr;
int Counter;
char SongT[200];
string Song;
string REGEX;
string artist;
string m_strContents ;
string title;
bool checkontop;
};