major change: Add security support & Adjust GUI
Change-Id: I7abef37169dec1ef4b68e760dee5214c147c1915
diff --git a/src/profile.h b/src/profile.h
index e085e77..982c5d8 100644
--- a/src/profile.h
+++ b/src/profile.h
@@ -83,6 +83,9 @@
inline bool
operator == (const Profile& profile) const;
+ inline bool
+ operator != (const Profile& profile) const;
+
private:
static const std::string OID_NAME;
static const std::string OID_ORG;
@@ -100,7 +103,7 @@
Chronos::ProfileMsg&
operator >> (Chronos::ProfileMsg& msg, Profile& profile);
-bool
+inline bool
Profile::operator == (const Profile& profile) const
{
if(m_entries.size() != profile.m_entries.size())
@@ -119,6 +122,12 @@
return true;
}
+inline bool
+Profile::operator != (const Profile& profile) const
+{
+ return !(*this == profile);
+}
+
}//chronos
#endif