mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 01:32:14 -05:00
25 lines
295 B
C++
25 lines
295 B
C++
#pragma once
|
|
|
|
#include "String.h"
|
|
#include "Vector.h"
|
|
|
|
namespace AK {
|
|
|
|
class StringBuilder {
|
|
public:
|
|
StringBuilder() { }
|
|
~StringBuilder() { }
|
|
|
|
void append(String&&);
|
|
void append(char);
|
|
|
|
String build();
|
|
|
|
private:
|
|
Vector<String> m_strings;
|
|
};
|
|
|
|
}
|
|
|
|
using AK::StringBuilder;
|
|
|