summaryrefslogtreecommitdiff
path: root/src/components/smart_objects/include/smart_objects/schema_item.h
diff options
context:
space:
mode:
authorjacobkeeler <jacob.keeler@livioradio.com>2017-09-29 09:50:12 -0400
committerjacobkeeler <jacob.keeler@livioradio.com>2017-09-29 09:50:12 -0400
commit3800d598555ea45f2b61741b53a959cdd678e705 (patch)
treecdd3b3a19a5c1adc72895b10ee11e9c043e606b0 /src/components/smart_objects/include/smart_objects/schema_item.h
parent18b0a605c3b665c4de6633acf4a24b7ed6ebbd90 (diff)
downloadsdl_core-3800d598555ea45f2b61741b53a959cdd678e705.tar.gz
Deprecate old validate methods
Diffstat (limited to 'src/components/smart_objects/include/smart_objects/schema_item.h')
-rw-r--r--src/components/smart_objects/include/smart_objects/schema_item.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/components/smart_objects/include/smart_objects/schema_item.h b/src/components/smart_objects/include/smart_objects/schema_item.h
index c1737417db..9cee326fdd 100644
--- a/src/components/smart_objects/include/smart_objects/schema_item.h
+++ b/src/components/smart_objects/include/smart_objects/schema_item.h
@@ -47,9 +47,23 @@ class SmartObject;
class ISchemaItem {
public:
/**
- * @brief Validate object.
+ * @deprecated
+ *
+ * @brief Validate smart object.
+ *
+ * @param Object Object to validate.
+ *
+ * @return NsSmartObjects::Errors::eType
+ **/
+ // DEPRECATED
+ virtual Errors::eType validate(const SmartObject& Object);
+
+ /**
+ * @brief Validate smart object.
*
* @param Object Object to validate.
+ * @param errorMessage string reference to be filled with an appropriate error
+ * message if an error occurs
*
* @return NsSmartObjects::Errors::eType
**/