mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-10 07:10:12 -04:00
Added new feed item when a wrong external ip address is reported.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8350 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
e8c60816cf
commit
22a7d2eeeb
8 changed files with 150 additions and 55 deletions
|
@ -39,15 +39,19 @@ class SecurityIpItem : public FeedItem
|
|||
|
||||
public:
|
||||
/** Default Constructor */
|
||||
SecurityIpItem(FeedHolder *parent, const RsPeerId &sslId, const std::string& ipAddr, uint32_t result, bool isTest);
|
||||
SecurityIpItem(FeedHolder *parent, const RsPeerId &sslId, const std::string& ipAddr, uint32_t result, uint32_t type, bool isTest);
|
||||
SecurityIpItem(FeedHolder *parent, const RsPeerId &sslId, const std::string& ipAddr, const std::string& ipAddrReported, uint32_t type, bool isTest);
|
||||
|
||||
void updateItemStatic();
|
||||
|
||||
bool isSame(const RsPeerId &sslId);
|
||||
bool isSame(const RsPeerId &sslId, uint32_t type);
|
||||
|
||||
/* FeedItem */
|
||||
virtual void expand(bool open);
|
||||
|
||||
private:
|
||||
void setup();
|
||||
|
||||
private slots:
|
||||
/* default stuff */
|
||||
void removeItem();
|
||||
|
@ -59,8 +63,10 @@ private:
|
|||
FeedHolder *mParent;
|
||||
uint32_t mFeedId;
|
||||
|
||||
uint32_t mType;
|
||||
RsPeerId mSslId;
|
||||
std::string mIPAddr;
|
||||
std::string mIpAddr;
|
||||
std::string mIpAddrReported;
|
||||
uint32_t mResult;
|
||||
bool mIsTest;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue