isSKey mistake counter + a refactoring promise
[platform/core/security/key-manager.git] / src / manager / common / data-type.h
index 58dde1b..33884b7 100644 (file)
@@ -79,6 +79,12 @@ public:
        operator int() const;
 
        bool isKey() const;
+
+       /*
+        * Number of times someone mistook it for isKey() (or the opposite): 3
+        * Increase the counter if it happened to you.
+        * I will rename this function if the counter reaches 4.
+        */
        bool isSKey() const;
        bool isChainCert() const;
        bool isKeyPrivate() const;