merge wrt-plugins-tizen_0.2.0-2
[profile/ivi/wrt-plugins-tizen.git] / src / platform / API / Contact / ContactPhoneNumber.h
index cb94748..4f36254 100755 (executable)
@@ -54,17 +54,18 @@ public:
        void setNumber(const std::string &value);
        bool getNumberIsSet() const;
 
-       StringArrayPtr getTypes() const;
-       void setTypes(const StringArrayPtr &value);
-       void addType(const std::string value);
-       bool isTypeOf(std::string value) const;
+       ContactPhoneNumberTypeArrayPtr getTypes() const;
+       void setTypes(const ContactPhoneNumberTypeArrayPtr &value);
+       void addType(const ContactPhoneNumberType value);
+       bool isTypeOf(const ContactPhoneNumberType value) const;
        int getTypesNum() const;
 
+       void clear();
        ContactPhoneNumberPtr clone() const;
 
 private:
        std::string m_number;
-       StringArrayPtr m_types;
+       ContactPhoneNumberTypeArrayPtr m_types;
 
        bool m_numberIsSet;
 };