// Copyright (c) 2010 Martin Knafve / hMailServer.com. // http://www.hmailserver.com #pragma once #include "Collection.h" #include "FetchAccountUID.h" #include "../Persistence/PersistentFetchAccountUID.h" namespace HM { class FetchAccountUID; class FetchAccountUIDs : public Collection { public: FetchAccountUIDs(void); ~FetchAccountUIDs(void); void Refresh(__int64 iFAID); bool PreSaveObject(std::shared_ptr pUID, XNode *node); protected: virtual String GetCollectionName() const {return "FetchAccountUIDs"; } private: std::map > fetched_uids_; __int64 faid_; }; }