OSDN Git Service

2012/01/22 23:04:23
authorqwerty2501 <riot313@gmail.com>
Sun, 22 Jan 2012 14:04:23 +0000 (23:04 +0900)
committerqwerty2501 <riot313@gmail.com>
Sun, 22 Jan 2012 14:04:23 +0000 (23:04 +0900)
nlite.suo
nlite/Resource.h
nlite/nlite_mailframe.h

index 3b3703a..e1b0d8a 100644 (file)
Binary files a/nlite.suo and b/nlite.suo differ
index 0dc50f1..35a1855 100644 (file)
@@ -7,10 +7,10 @@
 #define IDI_NLITE                               107
 #define IDI_SMALL                               108
 #define IDC_NLITE                               109
-#define IDD_DIALOG_BROWSERTYPE                  111
+#define IDD_DIALOG_BROWSERTYPE                  211
 #define IDC_BUTTON_COOKIE_OK                    1001
 #define IDC_RADIO_IE                            1005
-#define IDM_COOKIE                              40000
+#define IDM_COOKIE                              30000
 #define IDR_COMMAND1                            40000
 #define IDR_COMMAND2                            40001
 #define IDR_COMMAND3                            40002
index 111f802..f973c2d 100644 (file)
@@ -3,20 +3,19 @@
 namespace nlite{
        
 
-       
+       ///
+       ///\83E\83B\83\93\83h\83E\96¼
+       ///
        const static LPCTSTR NLITE_MAINWINDOW = TEXT("nlite");
 
+       ///
+       ///\83E\83B\83\93\83h\83E\8dÅ\92á\83T\83C\83Y
+       ///
        const static SIZE lowestFrameSize = {300,300};
 
-       
-
-       
-
-
-
-
-
-
+       ///
+       ///\83\81\83C\83\93\83t\83\8c\81[\83\80\83N\83\89\83X
+       ///
        class CNliteMainFrame : public CFrameWindowImpl<CNliteMainFrame>,
                public CUpdateUI<CNliteMainFrame>,public CMessageFilter, public CIdleHandler
        {
@@ -30,28 +29,41 @@ namespace nlite{
                };
 
        public:
+
+               ///
+               ///\95ú\91\97\94Ô\8d\86\93ü\97Í\97p
+               ///
                class CSubLiveNoComboBox:public CWindowImpl<CEdit>{
 
                        
 
                private:
-                       CNliteMainFrame &self;
-                       CComAutoCriticalSection cs;
-                       BOOL untilConnectingFlag;
+                       CNliteMainFrame &self;                          //\83\81\83C\83\93\83t\83\8c\81[\83\80\83E\83B\83\93\83h\83E
+                       CComAutoCriticalSection cs;                     //\83N\83\8a\83e\83B\83J\83\8b\83Z\83N\83V\83\87\83\93\83I\83u\83W\83F\83N\83g
+                       BOOL untilConnectingFlag;                       //\90Ú\91±\8f\88\97\9d\92\86\82©\82Ì\83t\83\89\83O\94»\92è
 
                public:
                        
-
+                       ///
+                       ///\83R\83\93\83X\83^\83\89\83N\83^
+                       ///
                        CSubLiveNoComboBox(CNliteMainFrame &in_self);
                        
 
-
+                       //\83\81\83b\83Z\81[\83W\83\8b\81[\83v
                        BEGIN_MSG_MAP_EX(CSubLiveNoComboBox)
                                MSG_WM_KEYDOWN(OnKeyDown)
                        END_MSG_MAP()
 
+
+                       ///
+                       ///\83L\81[\89\9f\89º\8e\9e\82Ì\8f\88\97\9d
+                       ///
                        VOID OnKeyDown(TCHAR wParam, UINT upLParam,UINT loLParam);
 
+                       ///
+                       ///\95ú\91\97\94Ô\8d\86\93ü\97Í\82ð\8b\96\89Â\82·\82é
+                       ///
                        VOID AgreeInputLvNo();
 
                        
@@ -59,25 +71,52 @@ namespace nlite{
                };
 
 
+               ///
+               ///\83R\83\81\83\93\83g\8eó\90M
+               ///
                class CLiveUserData {
 
                private:
 
-                       CCommentView &commentView;
-                       CCommentWriteWindow &writeWindow;
-                       CSubLiveNoComboBox &lvnocombo;
+                       CCommentView &commentView;                              //\83R\83\81\83\93\83g\95\\8e¦\83E\83B\83\93\83h\83E
+                       CCommentWriteWindow &writeWindow;               //\83R\83\81\83\93\83g\8f\91\82«\8d\9e\82Ý\97p\82Ì\83E\83B\83\93\83h\83E
+                       CSubLiveNoComboBox &lvnocombo;                  //\95ú\91\97\94Ô\8d\86\93ü\97Í\83R\83\93\83{\83{\83b\83N\83X
 
                public:
+
+                       ///
+                       ///\83R\83\93\83X\83g\83\89\83N\83^
+                       ///
                        CLiveUserData(CCommentView& cv,CSubLiveNoComboBox &combo,CCommentWriteWindow &writeWindow);
                        
+
+                       ///
+                       ///\90Ú\91±\8aJ\8en\8e\9e\8f\88\97\9d
+                       ///
                        VOID OnConnect();
                        
+                       ///
+                       ///\83R\83\81\83\93\83g\8eó\90M\8aJ\8en\8e\9e\82Ì\83R\81[\83\8b\83o\83b\83N\8f\88\97\9d
+                       ///
                        VOID OnChatReceveStart(StreamStatus &streamStatus);
 
+
+                       ///
+                       ///1\83R\83\81\83\93\83g\8eó\90M\82µ\82½\8e\9e\82Ì\83R\81[\83\8b\83o\83b\83N\8f\88\97\9d
+                       ///\8eó\90M\82µ\82½\83R\83\81\83\93\83g\82ð\83o\83b\83t\83@\82É\8ai\94[
+                       ///
                        VOID OnChatReceve(NicoLiveChat_P chat,UINT_PTR count);
-               
+                       
+
+                       ///
+                       ///\83`\83\83\83b\83g\8eó\90M\8am\92è\8e\9e\82Ì\83R\81[\83\8b\83o\83b\83N\8f\88\97\9d
+                       ///\8eå\82É\8eó\90M\82µ\82½\83R\83\81\83\93\83g\82Ì\95`\89æ\8f\88\97\9d\82ð\8ds\82¤
+                       ///
                        VOID OnChatReceveSettle(UINT_PTR commentCount,UINT_PTR commentCountSum);
 
+                       ///
+                       ///\83R\83\81\83\93\83g\91\97\90M\8c\8b\89Ê\8eó\90M\8e\9e\82Ì\83R\81[\83\8b\83o\83b\83N\8f\88\97\9d
+                       ///
                        VOID OnChatSendResult(NicoLiveSendResultComment_P sendResult);
 
                };
@@ -91,22 +130,20 @@ namespace nlite{
                DECLARE_FRAME_WND_CLASS(NLITE_MAINWINDOW, IDC_NLITE)
 
        private:
-               CCommentView commentView;
-               
-               
-               CStatusBarCtrl statusBar;
-               CLiveUserData userData;
-               CSubLiveNoComboBox subLiveNoComboBox;
-               CCommentWriteWindow commentWriteWindow;
-               CTabCtrl tabctrl;
-               
-               HFONT hTabFont;
-               CComboBoxEx lvNoCombo;
-               INT_PTR statusBarHeight;
-               INT_PTR toolBarHeight;
-               CNicoVideoAuth nicoVideoAuth;
-               Property nliteProperty;
-               CNicoLiveStream nicoLiveStream;
+               CCommentView commentView;                                       //\83R\83\81\83\93\83g\95\\8e¦\83E\83B\83\93\83h\83E
+               CStatusBarCtrl statusBar;                                       //\83X\83e\81[\83^\83X\83o\81[
+               CLiveUserData userData;                                         //\83C\83x\83\93\83g\83n\83\93\83h\83\89\97p\83N\83\89\83X
+               CSubLiveNoComboBox subLiveNoComboBox;           //\90\95ú\91\97\94Ô\8d\86\93ü\97Í\97p\83R\83\93\83{\83{\83b\83N\83X(\83T\83u\83N\83\89\83X)
+               CCommentWriteWindow commentWriteWindow;         //\83R\83\81\83\93\83g\8f\91\82«\8d\9e\82Ý\97p\83N\83\89\83X
+               CTabCtrl tabctrl;                                                       //\83^\83u\83R\83\93\83g\83\8d\81[\83\8b
+               
+               HFONT hTabFont;                                                         //\83^\83u\83E\83B\83\93\83h\83E\97p\82Ì\83t\83H\83\93\83g                            
+               CComboBoxEx lvNoCombo;                                          //\90\95ú\91\97\94Ô\8d\86\93ü\97Í\97p\83R\83\93\83{\83{\83b\83N\83X
+               INT_PTR statusBarHeight;                                        //\83X\83e\81[\83^\83X\83o\81[\82Ì\8d\82\82³
+               INT_PTR toolBarHeight;                                          //\83c\81[\83\8b\83o\81[\82Ì\8d\82\82³
+               CNicoVideoAuth nicoVideoAuth;                           //\83j\83R\83j\83R\93®\89æ\94F\8fØ\97p\83I\83u\83W\83F\83N\83g
+               Property nliteProperty;                                         //\83A\83v\83\8a\83P\81[\83V\83\87\83\93\83v\83\8d\83p\83e\83B
+               CNicoLiveStream nicoLiveStream;                         //\83j\83R\83j\83R\90\95ú\91\97\83I\83u\83W\83F\83N\83g
        private:
 
                // \83\81\83b\83Z\81[\83W\83t\83B\83\8b\83^\8f\88\97\9d
@@ -122,8 +159,16 @@ namespace nlite{
 
 
        public:
+
+               ///
+               ///\83R\83\93\83X\83g\83\89\83N\83^
+               ///
                CNliteMainFrame();
                
+
+               ///
+               ///\83f\83X\83g\83\89\83N\83^
+               ///
                ~CNliteMainFrame();
                
 
@@ -147,10 +192,25 @@ namespace nlite{
                END_MSG_MAP()
 
                
+               ///
+               ///\8f\89\8aú\89»\8f\88\97\9d
+               ///
+               VOID Initialize(LPCTSTR localAppDataPath);
+               
+               ///
+               ///\8fI\97¹\8f\88\97\9d
+               ///
+               VOID Finalaize();
+               
+               VOID OnDestroy();
 
+               VOID OnException();
 
+       private:
 
-               //\83c\81[\83\8b\83o\81[\8d\82\82³\95Ï\8dX
+               ///
+               ///\83c\81[\83\8b\83o\81[\8d\82\82³\95Ï\8dX
+               ///
                LRESULT OnRbnHeightChange(INT_PTR wParam,LPNMHDR lParam,BOOL &bHandled);
                
                
@@ -159,27 +219,27 @@ namespace nlite{
                ///
                VOID OnSizing(UINT wParam,LPRECT lParam);
                
-
-               //\83T\83C\83Y\95Ï\8dX\8cã
+               ///
+               ///\83T\83C\83Y\95Ï\8dX\8cã
+               ///
                LRESULT OnSize(UINT uMsg,WPARAM wParam,LPARAM lParam,BOOL& bHandled);
                
                
-
+               ///
+               ///\8eq\83E\83B\83\93\83h\83E\83T\83C\83Y\95Ï\8dX\8f\88\97\9d
+               ///
                VOID ChangeSize(const SIZE& client);
 
 
+               ///
+               ///\83E\83B\83\93\83h\83E\8dì\90¬\8e\9e\82Ì\8f\88\97\9d
+               ///
                LRESULT OnCreate(LPCREATESTRUCT lpcs);
 
                VOID ConnectNicoLive(LPCTSTR liveNo);
 
                
-               VOID Initialize(LPCTSTR localAppDataPath);
-               
-               VOID Finalaize();
                
-               VOID OnDestroy();
-
-               VOID OnException();
 
                //\83\81\83j\83\85\81[\82©\82ç\83t\83@\83C\83\8b\82ð\8fI\97¹\82ð\91I\91ð
                VOID OnMenuExit(UINT uNotifyCode, int nID, HWND hWndCtl);