source: dev/ProjectEditor/WebSearch.h@ 56

Last change on this file since 56 was 3, checked in by dai_9181, 18 years ago
File size: 2.4 KB
Line 
1
2#define LINK_ITEM_HEIGHT 20
3
4LRESULT CALLBACK ResultListProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam);
5LRESULT CALLBACK OneTabProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam);
6LRESULT CALLBACK WebResultWndProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam);
7
8class COneTab;
9
10class CResultList{
11public:
12 HWND hwnd;
13 int iAnimeCount;
14 COneTab *pobj_OneTab;
15
16 CResultList(COneTab *pobj_OneTab);
17 ~CResultList();
18};
19
20class COneTab{
21 int m_WndNum;
22
23public:
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
39class CWebResult{
40
41 COneTab **ppobj_OneTab;
42 int iTabNum;
43
44public:
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
56void WebSearchThread(void *temp_str);
57
58
59
60
61LRESULT CALLBACK SideWebProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam);
62
63class CChildSideWeb{
64public:
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
76class CSideWeb{
77
78 CChildSideWeb **ppobj_ChildSideWeb;
79 int iChildSideWebNum;
80
81 char *lpszNowUrl;
82
83 RECT m_Rect;
84
85 HWND hRightButton;
86
87public:
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};
100extern CSideWeb *pobj_SideWeb;
101
102class CWebStrings{
103 char *buffer;
104 char **ppStr;
105 char iStrNum;
106public:
107 CWebStrings();
108 ~CWebStrings();
109
110 void add(char *query);
111 void clear();
112
113 char *GetBuffer();
114};
115extern CWebStrings obj_WebStrings;
116
117
118class CDomain{
119public:
120 char *lpszName;
121 char *lpszDomain;
122 CDomain(char *name,char *domain);
123 ~CDomain();
124};
125class CDBDomain{
126 HWND m_hListView;
127
128 void init();
129public:
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};
Note: See TracBrowser for help on using the repository browser.