ladybird/AK/StringBuilder.h
Andreas Kling de4604ac95 Finally hook up the mkdir code to a syscall.
Added a /bin/mkdir that makes directories. How very neat :^)
There are various limitations because of missing functionality.
2018-11-18 15:02:16 +01:00

26 lines
327 B
C++

#pragma once
#include "String.h"
#include "Vector.h"
namespace AK {
class StringBuilder {
public:
StringBuilder() { }
~StringBuilder() { }
void append(const String&);
void append(String&&);
void append(char);
String build();
private:
Vector<String> m_strings;
};
}
using AK::StringBuilder;