summaryrefslogtreecommitdiffstats
path: root/comm/mailnews/local/src/nsMailboxServer.h
blob: 07bf628aae5246745b285ecdf2077bfb76fb53d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef nsMailboxServer_h__
#define nsMailboxServer_h__

#include "mozilla/Attributes.h"
#include "nsMsgIncomingServer.h"

class nsMailboxServer : public nsMsgIncomingServer {
 public:
  NS_IMETHOD GetLocalStoreType(nsACString& type) override;
  NS_IMETHOD GetLocalDatabaseType(nsACString& type) override;

 protected:
  virtual nsresult CreateRootFolderFromUri(const nsACString& serverUri,
                                           nsIMsgFolder** rootFolder) override;
};

#endif