mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-14 23:22:52 +00:00
LibCore: Put all classes in the Core namespace and remove the leading C
I've been wanting to do this for a long time. It's time we start being consistent about how this stuff works. The new convention is: - "LibFoo" is a userspace library that provides the "Foo" namespace. That's it :^) This was pretty tedious to convert and I didn't even start on LibGUI yet. But it's coming up next.
This commit is contained in:
parent
b7e3810b5c
commit
2d39da5405
Notes:
sideshowbarker
2024-07-19 09:41:36 +09:00
Author: https://github.com/awesomekling
Commit: 2d39da5405
265 changed files with 1380 additions and 1167 deletions
|
@ -37,7 +37,7 @@ ProcessStacksWidget::ProcessStacksWidget(GWidget* parent)
|
|||
m_stacks_editor = GTextEditor::construct(GTextEditor::Type::MultiLine, this);
|
||||
m_stacks_editor->set_readonly(true);
|
||||
|
||||
m_timer = CTimer::construct(1000, [this] { refresh(); }, this);
|
||||
m_timer = Core::Timer::construct(1000, [this] { refresh(); }, this);
|
||||
}
|
||||
|
||||
ProcessStacksWidget::~ProcessStacksWidget()
|
||||
|
@ -54,8 +54,8 @@ void ProcessStacksWidget::set_pid(pid_t pid)
|
|||
|
||||
void ProcessStacksWidget::refresh()
|
||||
{
|
||||
auto file = CFile::construct(String::format("/proc/%d/stack", m_pid));
|
||||
if (!file->open(CIODevice::ReadOnly)) {
|
||||
auto file = Core::File::construct(String::format("/proc/%d/stack", m_pid));
|
||||
if (!file->open(Core::IODevice::ReadOnly)) {
|
||||
m_stacks_editor->set_text(String::format("Unable to open %s", file->filename().characters()));
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue