6 class CCommentListWindow;
7 class CListenerColorCollector;
10 class CReadUserSettingXML;
24 ///
\83\8a\83X
\83i
\81[
\83f
\81[
\83^
28 friend CListenerColorCollector;
31 friend CReadUserSettingXML;
33 CNLiteString user_id; //
\83\86\81[
\83U
\81[ID
34 CNLiteString name; //
\83\86\81[
\83U
\81[
\96¼
35 CNLiteString community; //
\93o
\98^
\82µ
\82½
\83R
\83~
\83\85\83j
\83e
\83B
36 COLORREF bgcolor; //
\94w
\8ci
\90F
37 COLORREF nameColor; //
\96¼
\91O
\90F
38 time_t time; //
\93o
\98^
\8e\9e\8aÔ
39 BOOL onlyCommunityFlag;
52 ///
\83R
\83\93\83X
\83g
\83\89\83N
\83^
57 ///
\94w
\8ci
\90F
\90Ý
\92è
59 VOID SetBkColor(COLORREF bkColor_in);
62 ///
\96¼
\91O
\90H
\90Ý
\92è
64 VOID SetNameColor(COLORREF nameColor_in);
67 ///
\83\86\81[
\83U
\96¼
\90Ý
\92è
69 VOID SetUserName(LPCTSTR name);
76 ///
\94w
\8ci
\90F
\82ð
\8eæ
\93¾
78 COLORREF GetBackColor() const;
82 ///
\83j
\83b
\83N
\83l
\81[
\83\80\82Ì
\90F
\82ð
\8eæ
\93¾
84 COLORREF GetNameColor() const;
87 ///
\83\86\81[
\83U
\96¼
\82ð
\8eæ
\93¾
89 const CNLiteString &GetUserID() const;
93 ///
\83\86\81[
\83U
\96¼
\82ð
\8eæ
\93¾
95 const CNLiteString &GetName() const;
99 //
\83\8a\83X
\83i
\81[
\83f
\81[
\83^
\82©
\82ç
\94w
\8ci
\83J
\83\89\81[
\8eû
\8fW
\83t
\83@
\83\93\83N
\83V
\83\87\83i
\83\8b
101 class CListenerColorCollector{
104 std::deque<COLORREF> colorlist; //
\90F
\83\8a\83X
\83g
108 typedef std::deque<COLORREF>::iterator iterator;
110 //
\8ew
\92è
\82µ
\82½
\90F
\82ª
\93o
\98^
\82³
\82ê
\82Ä
\82¢
\82é
\82©
\92²
\82×
\82é
111 BOOL Find(COLORREF target){
113 iterator end = colorlist.end();
115 return std::find(colorlist.begin(),end,target) != end ? TRUE : FALSE;
118 //
\83t
\83@
\83\93\83N
\83V
\83\87\83i
\83\8b
119 void operator()(CListenerData &target){
121 if(target.bgcolor != CListenerData::INIT_COLOR){
123 colorlist.push_back(target.bgcolor);
132 ///
\83\8a\83X
\83i
\81[
\83\8a\83X
\83g
137 typedef CListenerData InternalType;
138 typedef std::list<InternalType> ListenerList_Internal;
139 ListenerList_Internal m_listenerList;
143 typedef InternalType& reference;
144 typedef ListenerList_Internal::value_type value_type;
145 typedef ListenerList_Internal::iterator iterator;
150 ///
\83\86\81[
\83U
\81[
\93o
\98^
152 reference Register(CListenerData &listener,BOOL bUpdate);
156 ///
\83\8a\83X
\83i
\81[
\83f
\81[
\83^
\93Ç
\82Ý
\8d\9e\82Ý
158 BOOL ReadProperty(LPCTSTR fileName);
161 ///
\83\8a\83X
\83i
\81[
\83f
\81[
\83^
\8f\91\82«
\8d\9e\82Ý
163 BOOL WriteProperty(LPCTSTR fileName);
167 ///
\94w
\8ci
\90F
\82ð
\8eû
\8fW
\82·
\82é
169 VOID BkColorCollect(CListenerColorCollector &target);
181 //
\90F
\83R
\81[
\83h
\8f\89\8aú
\92l
186 BOOL selectFlag; //
\91I
\91ð
\8fó
\91Ô
187 COLORREF stringColor; //
\93Æ
\8e©
\95¶
\8e\9a\90F
188 COLORREF backColor; //
\93Æ
\8e©
\94w
\8ci
\90F
189 COLORREF sellLineColor; //
\98g
\90ü
\90F
196 ViewData viewData; //
\95\
\8e¦
\97p
\83f
\81[
\83^
197 UINT_PTR premium; //
\83v
\83\8c\83~
\83A
\83\80\8eí
\95Ê
198 BOOL anonymity; //
\93½
\96¼
\83t
\83\89\83O
199 UINT_PTR no; //
\83R
\83\81\94Ô
200 UINT_PTR vpos; //
\83R
\83\81\83\93\83g
\95\
\8e¦
\88Ê
\92u
201 time_t date; //
\8e\9e\8aÔ
202 cuntry::LOCALE locale; //
\8d\91\83R
\81[
\83h
203 CListenerData *listenerData; //
\83\86\81[
\83U
\8fî
\95ñ
204 CNLiteString name; //
\96¼
\91O
\81B
\82Â
\82¢
\82Ä
\82±
\82È
\82¢
\8e\9e\82à
\82 \82é
205 CNLiteString chatBuf; //
\83`
\83\83\83b
\83g
\96{
\95¶
206 std::vector<CNLiteString> mail; //
\83\81\81[
\83\8b\83R
\83}
\83\93\83h
207 ULONG_PTR thread; //
\83X
\83\8c\83b
\83h
\94Ô
\8d\86
214 ///nlib
\82Ì
\83`
\83\83\83b
\83g
\83f
\81[
\83^
\82ð
\83Z
\83b
\83g
216 VOID SetChat(NicoLiveChat &chat_in,CListenerData &listener);
219 ///
\95\
\8e¦
\97p
\8d\82\82³
\82ð
\90Ý
\92è
221 VOID SetHeight(UINT_PTR height);
227 ///
\83\8a\83X
\83i
\81[
\8fî
\95ñ
\83N
\83\89\83X
\82Ì
\8eQ
\8fÆ
\82ð
\8eæ
\93¾
229 CListenerData &GetListnerData();
232 ///
\83`
\83\83\83b
\83g
\96{
\95¶
\8eæ
\93¾
234 const CNLiteString &GetChatBuff()const;
237 ///
\91I
\91ð
\8fó
\91Ô
\94»
\92è
\83t
\83\89\83O
\8eæ
\93¾
239 BOOL IsSelect()const;
242 ///
\94w
\8ci
\90F
\82ð
\8eæ
\93¾
244 COLORREF GetBackColor()const;
247 ///
\83v
\83\8c\83~
\83A
\83\80\8eí
\95Ê
\8eæ
\93¾
249 UINT_PTR GetPremium()const;
252 ///
\83R
\83\81\83\93\83g
\8e\9e\8aÔ
\8eæ
\93¾
254 time_t GetDate()const;
257 ///
\83R
\83\81\83\93\83g
\94Ô
\8d\86\8eæ
\93¾
259 UINT_PTR GetNo()const;
262 ///
\95¶
\8e\9a\97ñ
\95\
\8e¦
\8e\9e\82Ì
\90F
\82ð
\8eæ
\93¾
264 COLORREF GetStringColor()const;
267 ///
\98g
\90ü
\90F
\8eæ
\93¾
269 COLORREF GetSellLineColor()const;
272 ///
\95\
\8e¦
\97p
\82Ì
\8d\82\82³
\8eæ
\93¾
274 UINT_PTR GetHeight()const;
283 ///
\83R
\83\81\83\93\83g
\83\8a\83X
\83g
\83N
\83\89\83X
288 typedef std::list<CChatData> ChatList;
290 typedef ChatList::iterator iterator;
291 typedef ChatList::reference reference;
292 typedef ChatList::reverse_iterator reverse_iterator;
299 //
\83G
\83\89\81[
\83R
\81[
\83h
315 ///
\83R
\83\93\83X
\83g
\83\89\83N
\83^
320 ///
\83f
\83X
\83g
\83\89\83N
\83^
325 ///
\90¶
\95ú
\91\97\90Ú
\91±
\8e\9e\82Ì
\8f\88\97\9d
331 ///
\94j
\8aü
\8e\9e\82Ì
\8f\88\97\9d
336 ///
\8ai
\94[
\82³
\82ê
\82½
\83R
\83\81\83\93\83g
\90\94\8eæ
\93¾
342 ///
\91I
\91ð
\8d\80\96Ú
\82ð
\8eæ
\93¾
344 iterator GetCurSel();
347 INT_PTR GetCurSelNo();
350 ///
\91I
\91ð
\8d\80\96Ú
\82ð
\90Ý
\92è
352 VOID SetCurSel(iterator cursel);
355 ///
\91I
\91ð
\8fó
\91Ô
\82Ì
\83A
\83C
\83e
\83\80\82ð
\8eæ
\93¾
357 iterator GetCurSelItem();
365 ///
\8dÅ
\8f\89\82Ì
\83C
\83e
\83\8c\81[
\83^
\82ð
\8eæ
\93¾
370 ///
\8dÅ
\8cã
\82Ì
\83C
\83e
\83\8c\81[
\83^
\82ð
\8eæ
\93¾
375 ///
\8bt
\8cü
\82«
\83C
\83e
\83\8c\81[
\83^
\82Ì
\8dÅ
\8f\89\82ð
\8eæ
\93¾
377 reverse_iterator rbegein();
380 ///
\8bt
\8cü
\82«
\83C
\83e
\83\8c\81[
\83^
\82Ì
\8dÅ
\8cã
\82ð
\8eæ
\93¾
382 reverse_iterator rend();
385 ///
\83`
\83\83\83b
\83g
\8eó
\90M
\8e\9e\82Ì
\8f\88\97\9d
386 ///
\83`
\83\83\83b
\83g
\83f
\81[
\83^
\82Ì
\91}
\93ü
\82ð
\8ds
\82¤
387 ///
\83\8a\83X
\83g
\82ª
\8bó
\82©
\81A
\8eó
\90M
\82µ
\82½
\83`
\83\83\83b
\83g
\83f
\81[
\83^
\82Ìdate
\82Ì
\92l
\82ª
\83\8a\83X
\83g
\8dÅ
\8cã
\94ö
\88È
\8fã
\82Ì
\82à
\82Ì
\82¾
\82Á
\82½
\8fê
\8d\87\8dÅ
\8cã
\94ö
\82É
\91}
\93ü
\82³
\82ê
\82é
388 ///
\82»
\82¤
\82Å
\82È
\82©
\82Á
\82½
\8fê
\8d\87\82Í
\83\8a\83X
\83g
\82Ì
\8dÅ
\8f\89\82©
\82ç
\88ø
\90\94\82É
\93n
\82³
\82ê
\82½
\83`
\83\83\83b
\83g
\83f
\81[
\83^
\82Ìdate
\82æ
\82è
\91å
\82«
\82¢date
\82ð
\8e\9d\82Â
\83f
\81[
\83^
\82ð
\92T
\82µ
\81A
\82»
\82Ì
\83f
\81[
\83^
\82Ì
\92¼
\91O
\82É
\91}
\93ü
\82·
\82é
390 iterator OnChatReceve(NicoLiveChat_P chatData,LPCTSTR communityID, UINT_PTR count,CCommentListWindow &listWindow);
393 ///
\8ew
\92è
\82µ
\82½
\94Ô
\8d\86\82Ì
\83R
\83\81\83\93\83g
\8eQ
\8fÆ
\82ð
\8eæ
\93¾
395 reference GetChatAt(UINT_PTR no);
399 ///
\83\8a\83X
\83g
\8dÅ
\8cã
\82Ì
\8eQ
\8fÆ
\82ð
\8eæ
\93¾
404 ///
\83V
\83\87\81[
\83g
\83J
\83b
\83g
\83C
\83e
\83\8c\81[
\83^
\82ð
\8eæ
\93¾
406 iterator GetShortCut();
409 ///
\83V
\83\87\81[
\83g
\83J
\83b
\83g
\82ð
\90Ý
\92è
411 BOOL SetShortCut(UINT_PTR no);
419 ///
\83\86\81[
\83U
\90Ý
\92è
\83t
\83@
\83C
\83\8b\93Ç
\8eæ
\83N
\83\89\83X
421 class CReadUserSettingXML:public CXmlParser{
424 CListenerData listenerBuff;
425 CListenerList &m_listenerList;
434 CReadUserSettingXML(CListenerList &in_listenerList);
436 void OnStartElement (const XML_Char *pszName, const XML_Char **papszAttrs);
438 void OnEndElement (const XML_Char *pszName);
440 void OnCharacterData (const XML_Char *pszData, int nLength);