1 |
|
---|
2 | #define LINK_ITEM_HEIGHT 20
|
---|
3 |
|
---|
4 | LRESULT CALLBACK ResultListProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam);
|
---|
5 | LRESULT CALLBACK OneTabProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam);
|
---|
6 | LRESULT CALLBACK WebResultWndProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam);
|
---|
7 |
|
---|
8 | class COneTab;
|
---|
9 |
|
---|
10 | class CResultList{
|
---|
11 | public:
|
---|
12 | HWND hwnd;
|
---|
13 | int iAnimeCount;
|
---|
14 | COneTab *pobj_OneTab;
|
---|
15 |
|
---|
16 | CResultList(COneTab *pobj_OneTab);
|
---|
17 | ~CResultList();
|
---|
18 | };
|
---|
19 |
|
---|
20 | class COneTab{
|
---|
21 | int m_WndNum;
|
---|
22 |
|
---|
23 | public:
|
---|
24 | HWND hTabWnd;
|
---|
25 | CResultList *pobj_ResultList;
|
---|
26 |
|
---|
27 | int iWindowWidth;
|
---|
28 |
|
---|
29 | char *lpszString;
|
---|
30 | char *lpszTitle[10];
|
---|
31 | char *lpszUrl[10];
|
---|
32 |
|
---|
33 | COneTab(int WndNum,char *str);
|
---|
34 | ~COneTab();
|
---|
35 |
|
---|
36 | void WebSearch();
|
---|
37 | };
|
---|
38 |
|
---|
39 | class CWebResult{
|
---|
40 |
|
---|
41 | COneTab **ppobj_OneTab;
|
---|
42 | int iTabNum;
|
---|
43 |
|
---|
44 | public:
|
---|
45 | HWND hwnd;
|
---|
46 | CWebResult(HWND hParent);
|
---|
47 | ~CWebResult();
|
---|
48 |
|
---|
49 | void resize(int x,int y,int cx,int cy);
|
---|
50 |
|
---|
51 | void add(int WndNum,char *lpszSearchText);
|
---|
52 |
|
---|
53 | BOOL DuplicateCheck(char *str);
|
---|
54 | };
|
---|
55 |
|
---|
56 | void WebSearchThread(void *temp_str);
|
---|
57 |
|
---|
58 |
|
---|
59 |
|
---|
60 |
|
---|
61 | LRESULT CALLBACK SideWebProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam);
|
---|
62 |
|
---|
63 | class CChildSideWeb{
|
---|
64 | public:
|
---|
65 | HWND hwnd;
|
---|
66 | HWND hIEWnd;
|
---|
67 | char *lpszTitle;
|
---|
68 | char *lpszSite;
|
---|
69 |
|
---|
70 | CChildSideWeb(HWND hParent,HWND hTab,char *title,char *site);
|
---|
71 | ~CChildSideWeb();
|
---|
72 |
|
---|
73 | void resize(int x,int y,int cx,int cy);
|
---|
74 | };
|
---|
75 |
|
---|
76 | class CSideWeb{
|
---|
77 |
|
---|
78 | CChildSideWeb **ppobj_ChildSideWeb;
|
---|
79 | int iChildSideWebNum;
|
---|
80 |
|
---|
81 | char *lpszNowUrl;
|
---|
82 |
|
---|
83 | RECT m_Rect;
|
---|
84 |
|
---|
85 | HWND hRightButton;
|
---|
86 |
|
---|
87 | public:
|
---|
88 | HWND hTab;
|
---|
89 | BOOL bShow;
|
---|
90 | CSideWeb(HWND hParent);
|
---|
91 | ~CSideWeb();
|
---|
92 | void resize(int x,int y,int cx,int cy);
|
---|
93 |
|
---|
94 | void GoPage(char *lpszUrl);
|
---|
95 |
|
---|
96 | void SelChangeEvent();
|
---|
97 |
|
---|
98 | void GetRect(RECT *prc);
|
---|
99 | };
|
---|
100 | extern CSideWeb *pobj_SideWeb;
|
---|
101 |
|
---|
102 | class CWebStrings{
|
---|
103 | char *buffer;
|
---|
104 | char **ppStr;
|
---|
105 | char iStrNum;
|
---|
106 | public:
|
---|
107 | CWebStrings();
|
---|
108 | ~CWebStrings();
|
---|
109 |
|
---|
110 | void add(char *query);
|
---|
111 | void clear();
|
---|
112 |
|
---|
113 | char *GetBuffer();
|
---|
114 | };
|
---|
115 | extern CWebStrings obj_WebStrings;
|
---|
116 |
|
---|
117 |
|
---|
118 | class CDomain{
|
---|
119 | public:
|
---|
120 | char *lpszName;
|
---|
121 | char *lpszDomain;
|
---|
122 | CDomain(char *name,char *domain);
|
---|
123 | ~CDomain();
|
---|
124 | };
|
---|
125 | class CDBDomain{
|
---|
126 | HWND m_hListView;
|
---|
127 |
|
---|
128 | void init();
|
---|
129 | public:
|
---|
130 | CDomain **ppobj_Domain;
|
---|
131 | int iDomainNum;
|
---|
132 |
|
---|
133 | CDBDomain();
|
---|
134 | ~CDBDomain();
|
---|
135 |
|
---|
136 | void load();
|
---|
137 | void save();
|
---|
138 | void copy_get(CDBDomain *pobj_DBDomain);
|
---|
139 |
|
---|
140 | void SetListView(HWND hListView);
|
---|
141 |
|
---|
142 | void add(char *name,char *domain);
|
---|
143 | void del(char *name);
|
---|
144 | void change(char *szBeforeName,char *name,char *domain);
|
---|
145 | };
|
---|