Improve marker line behavior; allow manual setting (Ctrl+R)
[quassel.git] / src / client / client.h
index ab413b8..cc3803b 100644 (file)
@@ -127,7 +127,9 @@ public:
   static void userInput(const BufferInfo &bufferInfo, const QString &message);
 
   static void setBufferLastSeenMsg(BufferId id, const MsgId &msgId); // this is synced to core and other clients
   static void userInput(const BufferInfo &bufferInfo, const QString &message);
 
   static void setBufferLastSeenMsg(BufferId id, const MsgId &msgId); // this is synced to core and other clients
-  static void setBufferMarkerLine(BufferId id, const MsgId &msgId); // this is synced to core and other clients
+  static void setMarkerLine(BufferId id, const MsgId &msgId); // this is synced to core and other clients
+  static MsgId markerLine(BufferId id);
+
   static void removeBuffer(BufferId id);
   static void renameBuffer(BufferId bufferId, const QString &newName);
   static void mergeBuffersPermanently(BufferId bufferId1, BufferId bufferId2);
   static void removeBuffer(BufferId id);
   static void renameBuffer(BufferId bufferId, const QString &newName);
   static void mergeBuffersPermanently(BufferId bufferId1, BufferId bufferId2);