mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 09:46:04 -05:00
26 lines
295 B
C
26 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;
|
||
|
|