Index: src/plugin/PluginTabBase.h |
=================================================================== |
--- a/src/plugin/PluginTabBase.h |
+++ b/src/plugin/PluginTabBase.h |
@@ -11,6 +11,19 @@ |
class CPluginClass; |
+namespace |
+{ |
+ CString ExtractDomain(const CString& url) |
+ { |
+ int pos = 0; |
+ if (url.Find('/', pos) >= 0) |
+ url.Tokenize(L"/", pos); |
+ CString domain = url.Tokenize(L"/", pos); |
+ domain.MakeLower(); |
+ return domain; |
+ } |
+} |
Wladimir Palant
2013/08/01 10:48:19
I don't see the point of moving this function. Fun
|
+ |
class CPluginTabBase |
{ |