OLD | NEW |
1 #include "PluginStdAfx.h" | 1 #include "PluginStdAfx.h" |
2 | 2 |
3 #include <Wbemidl.h> | 3 #include <Wbemidl.h> |
4 #include <time.h> | 4 #include <time.h> |
5 #include "PluginSettings.h" | 5 #include "PluginSettings.h" |
6 #include "PluginClient.h" | 6 #include "PluginClient.h" |
7 #include "PluginSystem.h" | 7 #include "PluginSystem.h" |
8 #ifdef SUPPORT_FILTER | 8 #ifdef SUPPORT_FILTER |
9 #include "PluginFilter.h" | 9 #include "PluginFilter.h" |
10 #endif | 10 #endif |
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 | 357 |
358 CString CPluginSettings::GetSubscription() | 358 CString CPluginSettings::GetSubscription() |
359 { | 359 { |
360 std::vector<SubscriptionDescription> subscriptions = CPluginClient::GetInstanc
e()->GetListedSubscriptions(); | 360 std::vector<SubscriptionDescription> subscriptions = CPluginClient::GetInstanc
e()->GetListedSubscriptions(); |
361 if (subscriptions.size() > 0) | 361 if (subscriptions.size() > 0) |
362 return CString(subscriptions.front().url.c_str()); | 362 return CString(subscriptions.front().url.c_str()); |
363 else | 363 else |
364 return CString(L""); | 364 return CString(L""); |
365 } | 365 } |
366 | 366 |
| 367 CString CPluginSettings::GetRequire(const std::wstring& name) |
| 368 { |
| 369 std::wstring require = CPluginClient::GetInstance()->GetRequire(name); |
| 370 return CString(require.c_str()); |
| 371 } |
367 | 372 |
368 | 373 |
369 #endif // SUPPORT_WHITELIST | 374 #endif // SUPPORT_WHITELIST |
OLD | NEW |