* 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., *
* 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., *
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifndef ABSTRACTBUFFERCONTAINER_H_
***************************************************************************/
#ifndef ABSTRACTBUFFERCONTAINER_H_
AbstractBufferContainer(QWidget *parent);
virtual ~AbstractBufferContainer();
inline BufferId currentBuffer() const { return _currentBuffer; }
AbstractBufferContainer(QWidget *parent);
virtual ~AbstractBufferContainer();
inline BufferId currentBuffer() const { return _currentBuffer; }
//! Create an AbstractChatView for the given BufferId and add it to the UI if necessary
virtual AbstractChatView *createChatView(BufferId) = 0;
//! Create an AbstractChatView for the given BufferId and add it to the UI if necessary
virtual AbstractChatView *createChatView(BufferId) = 0;
virtual void currentChanged(const QModelIndex ¤t, const QModelIndex &previous);
virtual void rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end);
virtual void currentChanged(const QModelIndex ¤t, const QModelIndex &previous);
virtual void rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end);
- virtual void appendMsg(AbstractUiMsg *msg) = 0;
- virtual void prependMsg(AbstractUiMsg *msg) = 0;
- virtual void setContents(const QList<AbstractUiMsg *> &contents) = 0;
- //virtual BufferId bufferId() const = 0;
-
+ virtual MsgId lastMsgId() const = 0;