// Copyright (c) 2010 Martin Knafve / hMailServer.com. // http://www.hmailserver.com #pragma once namespace HM { class Route; enum PersistenceMode; class PersistentRoute { public: PersistentRoute(); virtual ~PersistentRoute(); static bool DeleteObject(std::shared_ptr pRoute); static bool SaveObject(std::shared_ptr pRoute); static bool SaveObject(std::shared_ptr pRoute, String &sErrorMessage, PersistenceMode mode); static bool ReadObject(std::shared_ptr pRoute, long lID); static bool ReadObject(std::shared_ptr pRoute, std::shared_ptr pRS); }; }