Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: src/plugin/PluginClass.cpp

Issue 11013110: Cleanup (Closed)
Left Patch Set: Whole cleanup + comments addressed Created July 23, 2013, 11:34 a.m.
Right Patch Set: More beautification and addressing comments Created July 29, 2013, 12:13 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/plugin/PluginClass.h ('k') | src/plugin/PluginClassThread.cpp » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 #include "PluginStdAfx.h" 1 #include "PluginStdAfx.h"
2 2
3 #include "PluginClass.h" 3 #include "PluginClass.h"
4 #include "PluginSettings.h" 4 #include "PluginSettings.h"
5 #include "PluginSystem.h" 5 #include "PluginSystem.h"
6 #ifdef SUPPORT_FILTER 6 #ifdef SUPPORT_FILTER
7 #include "PluginFilter.h" 7 #include "PluginFilter.h"
8 #endif 8 #endif
9 #include "PluginMimeFilterClient.h" 9 #include "PluginMimeFilterClient.h"
10 #include "PluginClient.h" 10 #include "PluginClient.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 m_hTabWnd = NULL; 62 m_hTabWnd = NULL;
63 m_hStatusBarWnd = NULL; 63 m_hStatusBarWnd = NULL;
64 m_hPaneWnd = NULL; 64 m_hPaneWnd = NULL;
65 m_nPaneWidth = 0; 65 m_nPaneWidth = 0;
66 m_pWndProcStatus = NULL; 66 m_pWndProcStatus = NULL;
67 m_hTheme = NULL; 67 m_hTheme = NULL;
68 m_isInitializedOk = false; 68 m_isInitializedOk = false;
69 69
70 70
71 m_tab = new CPluginTab(this); 71 m_tab = new CPluginTab(this);
72
73 // Load settings (fetch the available subscriptions, if still not fetched)
74 CPluginSettings* settings = CPluginSettings::GetInstance();
75 72
76 CPluginSystem* system = CPluginSystem::GetInstance(); 73 CPluginSystem* system = CPluginSystem::GetInstance();
77 74
78 std::wstring locale((LPCWSTR)system->GetBrowserLanguage()); 75 std::wstring locale((LPCWSTR)system->GetBrowserLanguage());
79 Dictionary::Create(locale); 76 Dictionary::Create(locale);
80 } 77 }
81 78
82 CPluginClass::~CPluginClass() 79 CPluginClass::~CPluginClass()
83 { 80 {
84 delete m_tab; 81 delete m_tab;
(...skipping 1878 matching lines...) Expand 10 before | Expand all | Expand 10 after
1963 } 1960 }
1964 } 1961 }
1965 } 1962 }
1966 1963
1967 hTabWnd = ::GetWindow(hTabWnd, GW_HWNDNEXT); 1964 hTabWnd = ::GetWindow(hTabWnd, GW_HWNDNEXT);
1968 } 1965 }
1969 1966
1970 return hTabWnd; 1967 return hTabWnd;
1971 1968
1972 } 1969 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld