current highlighted search result is no longer reset when the search string changes...
[quassel.git] / src / uisupport / abstractbuffercontainer.h
index cb0e502..0e46627 100644 (file)
@@ -63,8 +63,6 @@ class AbstractBufferContainer : public AbstractItemView {
     virtual void showChatView(BufferId) = 0;
 
   private slots:
-    void appendMsg(AbstractUiMsg *);
-    void prependMsg(AbstractUiMsg *);
     void removeBuffer(BufferId bufferId);
     void setCurrentBuffer(BufferId bufferId);
 
@@ -77,11 +75,7 @@ class AbstractChatView {
 
   public:
     virtual ~AbstractChatView() {};
-    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;
 };
 
 #endif