New feature: toggle visibility of mime buttons.
[more-wl.git] / elmo / elmo-null.el
blob4cfec7e4097dbb6dea967faf78c65637889b6d19
1 ;;; elmo-null.el --- /dev/null Folder Interface for ELMO.
3 ;; Copyright (C) 2005 Yuuichi Teranishi <teranisi@gohome.org>
5 ;; Author: Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6 ;; Keywords: mail, net news
8 ;; This file is part of ELMO (Elisp Library for Message Orchestration).
10 ;; This program is free software; you can redistribute it and/or modify
11 ;; it under the terms of the GNU General Public License as published by
12 ;; the Free Software Foundation; either version 2, or (at your option)
13 ;; any later version.
15 ;; This program is distributed in the hope that it will be useful,
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 ;; GNU General Public License for more details.
20 ;; You should have received a copy of the GNU General Public License
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the
22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23 ;; Boston, MA 02111-1307, USA.
26 ;;; Commentary:
29 ;;; Code:
31 (require 'elmo)
33 (eval-and-compile
34 (luna-define-class elmo-null-folder (elmo-folder)))
36 (luna-define-method elmo-folder-initialize ((folder elmo-null-folder) name)
37 folder)
39 (luna-define-method elmo-folder-expand-msgdb-path ((folder elmo-null-folder))
40 (expand-file-name "null" (expand-file-name "internal" elmo-msgdb-directory)))
42 (luna-define-method elmo-folder-open ((folder elmo-null-folder)
43 &optional load-msgdb))
45 (luna-define-method elmo-folder-commit ((folder elmo-null-folder)))
47 (luna-define-method elmo-folder-diff ((folder elmo-null-folder))
48 '(0 . 0))
50 (luna-define-method elmo-folder-list-messages ((folder elmo-null-folder)
51 &optional visible-only in-msgdb)
52 nil)
54 (luna-define-method elmo-folder-list-flagged ((folder elmo-null-folder)
55 flag &optional in-msgdb)
56 nil)
58 (luna-define-method elmo-folder-count-flags ((folder elmo-null-folder))
59 nil)
61 (luna-define-method elmo-folder-have-subfolder-p ((folder elmo-null-folder))
62 nil)
64 (luna-define-method elmo-folder-exists-p ((folder elmo-null-folder))
67 (luna-define-method elmo-folder-writable-p ((folder elmo-null-folder))
70 (defun elmo-folder-append-messages-*-null (dst-folder
71 src-folder
72 numbers
73 same-number)
74 (elmo-progress-notify 'elmo-folder-move-messages (length numbers))
75 numbers)
77 (luna-define-method elmo-folder-synchronize ((folder elmo-null-folder)
78 &optional
79 disable-killed
80 ignore-msgdb
81 no-check
82 mask)
83 nil)
85 (require 'product)
86 (product-provide (provide 'elmo-null) (require 'elmo-version))
88 ;;; elmo-null.el.el ends here