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

Side by Side Diff: Shared/PluginConfiguration.cpp

Issue 8978054: Removal of shareware parts (Closed)
Patch Set: Created Dec. 5, 2012, 7:59 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Shared/PluginClassThread.cpp ('k') | Shared/PluginFilter.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #include "PluginStdAfx.h" 1 #include "PluginStdAfx.h"
2 2
3 #include "PluginConfiguration.h" 3 #include "PluginConfiguration.h"
4 #include "PluginClient.h" 4 #include "PluginClient.h"
5 #include "PluginIniFile.h" 5 #include "PluginIniFile.h"
6 #include "PluginSettings.h" 6 #include "PluginSettings.h"
7 #include "PluginSystem.h" 7 #include "PluginSystem.h"
8 #include "PluginHttpRequest.h" 8 #include "PluginHttpRequest.h"
9 9
10 10
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 DEBUG_SETTINGS("Settings::Configuration dictionary url:" + it->second); 189 DEBUG_SETTINGS("Settings::Configuration dictionary url:" + it->second);
190 } 190 }
191 191
192 it = settingsData.find("dictionaryv"); 192 it = settingsData.find("dictionaryv");
193 if (it != settingsData.end()) 193 if (it != settingsData.end())
194 { 194 {
195 m_dictionaryVersion = atoi(it->second); 195 m_dictionaryVersion = atoi(it->second);
196 DEBUG_SETTINGS("Settings::Configuration dictionary version:" + it->secon d); 196 DEBUG_SETTINGS("Settings::Configuration dictionary version:" + it->secon d);
197 } 197 }
198 198
199
200 it = settingsData.find("pluginexpired");
201 if (it != settingsData.end())
202 {
203 m_isPluginExpired = it->second == "true";
204 m_isValidPluginExpired = true;
205 DEBUG_SETTINGS("Settings::Configuration plugin expired:" + it->second);
206 }
207
208 m_isValidPluginUpdate = 199 m_isValidPluginUpdate =
209 settingsData.find("pluginupdate") != settingsData.end() && 200 settingsData.find("pluginupdate") != settingsData.end() &&
210 settingsData.find("pluginupdatev") != settingsData.end(); 201 settingsData.find("pluginupdatev") != settingsData.end();
211 202
212 m_isValidUserId = 203 m_isValidUserId =
213 settingsData.find("userid") != settingsData.end(); 204 settingsData.find("userid") != settingsData.end();
214 205
215 m_isValidDictionary = 206 m_isValidDictionary =
216 settingsData.find("dictionary") != settingsData.end() && 207 settingsData.find("dictionary") != settingsData.end() &&
217 settingsData.find("dictionaryv") != settingsData.end(); 208 settingsData.find("dictionaryv") != settingsData.end();
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 513
523 #endif // SUPPORT_CONFIG 514 #endif // SUPPORT_CONFIG
524 515
525 516
526 #ifdef PRODUCT_AIDOINLINE 517 #ifdef PRODUCT_AIDOINLINE
527 CString CPluginConfiguration::GetCollectedStatus() const 518 CString CPluginConfiguration::GetCollectedStatus() const
528 { 519 {
529 return m_collectedStatus; 520 return m_collectedStatus;
530 } 521 }
531 #endif 522 #endif
OLDNEW
« no previous file with comments | « Shared/PluginClassThread.cpp ('k') | Shared/PluginFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld