diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-04-09 07:54:44 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-04-18 19:11:41 (GMT) |
commit | e3d2137622cea23298f203801bc698eff08e0ea1 (patch) | |
tree | e8d02f3334a6422e25ca5f30606850d960b27cc7 /Swiften/Roster/RosterFileStorage.h | |
parent | 01385d84f07466550fff702079555c65963463a8 (diff) | |
download | swift-contrib-e3d2137622cea23298f203801bc698eff08e0ea1.zip swift-contrib-e3d2137622cea23298f203801bc698eff08e0ea1.tar.bz2 |
Factor out payload persisting into utility classes.
Diffstat (limited to 'Swiften/Roster/RosterFileStorage.h')
-rw-r--r-- | Swiften/Roster/RosterFileStorage.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Swiften/Roster/RosterFileStorage.h b/Swiften/Roster/RosterFileStorage.h index dc91c27..cb00969 100644 --- a/Swiften/Roster/RosterFileStorage.h +++ b/Swiften/Roster/RosterFileStorage.h @@ -15,15 +15,10 @@ namespace Swift { public: RosterFileStorage(const boost::filesystem::path& path); - // FIXME - virtual boost::shared_ptr<RosterPayload> getRoster() const { - return roster; - } - + virtual boost::shared_ptr<RosterPayload> getRoster() const; virtual void setRoster(boost::shared_ptr<RosterPayload>); private: boost::filesystem::path path; - boost::shared_ptr<RosterPayload> roster; }; } |