From 1710fab0965d32b883dfcc327c36d3fd38a91357 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 15 Dec 2015 17:05:20 +0100 Subject: A read-only maildir resource. Respectively a first prototype thereof. --- examples/maildirresource/domainadaptor.h | 38 ++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 examples/maildirresource/domainadaptor.h (limited to 'examples/maildirresource/domainadaptor.h') diff --git a/examples/maildirresource/domainadaptor.h b/examples/maildirresource/domainadaptor.h new file mode 100644 index 0000000..0fc7108 --- /dev/null +++ b/examples/maildirresource/domainadaptor.h @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2015 Christian Mollekopf + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the + * Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ +#pragma once + +#include +#include "mail_generated.h" +#include "folder_generated.h" +#include "dummy_generated.h" + +class MaildirMailAdaptorFactory : public DomainTypeAdaptorFactory +{ +public: + MaildirMailAdaptorFactory(); + virtual ~MaildirMailAdaptorFactory() {}; +}; + +class MaildirFolderAdaptorFactory : public DomainTypeAdaptorFactory +{ +public: + MaildirFolderAdaptorFactory(); + virtual ~MaildirFolderAdaptorFactory() {}; +}; -- cgit v1.2.3