Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Initial import of code already done for Xestia Address Book
[xestiaab/.git] / source / common / svrblist.cpp
1 #include <wx/wx.h>
2 #include <wx/tokenzr.h>
4 bool CheckBlacklist(wxString ServerAddress){
6         wxString ServerBlacklist = "google.com";
7         wxString BListHostname;
9         wxStringTokenizer ServerBlacklistTkz(ServerBlacklist, wxT("|"));
11         while(ServerBlacklistTkz.HasMoreTokens()){
12         
13                 BListHostname = ServerBlacklistTkz.GetNextToken();
14                 if (BListHostname == ServerAddress){
15                         return TRUE;
16                 }
17         
18         }
20         return FALSE;
22 }
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy