[CSM] Don't Load the package library (#6944)
[oweals/minetest.git] / src / chat.h
index b1b3edcb093007d7e5d10068ba2d7ce093a10f03..ef5a9d47a5b3c83fab9ef388e4f5f5eca101c944 100644 (file)
@@ -119,7 +119,7 @@ public:
        u32 formatChatLine(const ChatLine& line, u32 cols,
                        std::vector<ChatFormattedLine>& destination) const;
 
-    void resize(u32 scrollback);
+       void resize(u32 scrollback);
 protected:
        s32 getTopScrollPos() const;
        s32 getBottomScrollPos() const;
@@ -265,7 +265,7 @@ public:
        // Get the recent messages buffer
        ChatBuffer& getRecentBuffer();
        // Concatenate all recent messages
-       EnrichedString getRecentChat();
+       EnrichedString getRecentChat() const;
        // Get the console prompt
        ChatPrompt& getPrompt();
 
@@ -283,9 +283,9 @@ public:
        void scrollPageDown();
        void scrollPageUp();
 
-    // Resize recent buffer based on settings
-    void applySettings(Settings* settings);
-    
+       // Resize recent buffer based on settings
+       void applySettings();
+
 private:
        ChatBuffer m_console_buffer;
        ChatBuffer m_recent_buffer;