Aleksander Machniak
2012-08-15 de9497cea760849a05f52848b9a670a7006b97d6
program/include/rcube_storage.php
@@ -7,7 +7,10 @@
 | This file is part of the Roundcube Webmail client                     |
 | Copyright (C) 2005-2012, The Roundcube Dev Team                       |
 | Copyright (C) 2012, Kolab Systems AG                                  |
 | Licensed under the GNU GPL                                            |
 |                                                                       |
 | Licensed under the GNU General Public License version 3 or            |
 | any later version with exceptions for skins & plugins.                |
 | See the README file for a full license statement.                     |
 |                                                                       |
 | PURPOSE:                                                              |
 |   Mail Storage Engine                                                 |
@@ -103,6 +106,14 @@
     * @return boolean  TRUE on success, FALSE on failure
     */
    abstract function is_connected();
    /**
     * Check connection state, connect if not connected.
     *
     * @return bool Connection state.
     */
    abstract function check_connection();
    /**
@@ -494,8 +505,11 @@
    /**
     * Sends the whole message source to stdout
     *
     * @param int  $uid       Message UID
     * @param bool $formatted Enables line-ending formatting
     */
    abstract function print_raw_body($uid);
    abstract function print_raw_body($uid, $formatted = true);
    /**
@@ -968,6 +982,11 @@
     */
    abstract function get_cache($key);
    /**
     * Delete outdated cache entries
     */
    abstract function expunge_cache();
}  // end class rcube_storage