diff options
Diffstat (limited to 'Swiften/Elements/FormText.h')
-rw-r--r-- | Swiften/Elements/FormText.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/Swiften/Elements/FormText.h b/Swiften/Elements/FormText.h index 501af11..a0c8d56 100644 --- a/Swiften/Elements/FormText.h +++ b/Swiften/Elements/FormText.h @@ -1,26 +1,27 @@ /* - * Copyright (c) 2015 Isode Limited. + * Copyright (c) 2015-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once +#include <memory> #include <string> -#include <boost/shared_ptr.hpp> + #include <Swiften/Base/API.h> namespace Swift { - class SWIFTEN_API FormText{ + class SWIFTEN_API FormText{ - public: - typedef boost::shared_ptr<FormText> text; - FormText(); - virtual ~FormText(); - void setTextString(const std::string& text); - const std::string& getTextString() const; + public: + typedef std::shared_ptr<FormText> text; + FormText(); + virtual ~FormText(); + void setTextString(const std::string& text); + const std::string& getTextString() const; - private: - std::string text_; - }; + private: + std::string text_; + }; } |