// Copyright (c) 2010 Martin Knafve / hMailServer.com. // http://www.hmailserver.com #pragma once namespace HM { class IMAPFolder; class IMAPFolders; class ACLPermission; class ACLPermissions; class ACLManager { public: ACLManager(void); ~ACLManager(void); std::shared_ptr GetPermissionForFolder(__int64 iAccountID, std::shared_ptr pFolder); bool SetACL(std::shared_ptr pFolder, const String& sIdentifier, const String &sPermissions); private: std::shared_ptr GetPermissionForAccount_(std::shared_ptr pPermissions, __int64 iAccountID); }; }