1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:27:46 +00:00

Everywhere: Move AppFile from LibGUI to LibDesktop

This was mentioned in #4574, and the more I think about it the more it
feels just right - let's move it there! :^)
Having to link LaunchServer against LibGUI explicitly should've been
telling enough...
This commit is contained in:
Linus Groh 2020-12-28 01:06:38 +01:00 committed by Andreas Kling
parent 97c42694db
commit 58890e03b6
12 changed files with 20 additions and 20 deletions

View file

@ -32,7 +32,7 @@
#include <AK/LexicalPath.h>
#include <AK/StringBuilder.h>
#include <LibCore/ConfigFile.h>
#include <LibGUI/AppFile.h>
#include <LibDesktop/AppFile.h>
#include <serenity.h>
#include <spawn.h>
#include <stdio.h>
@ -97,7 +97,7 @@ Launcher& Launcher::the()
void Launcher::load_handlers(const String& af_dir)
{
GUI::AppFile::for_each([&](auto af) {
Desktop::AppFile::for_each([&](auto af) {
auto app_name = af->name();
auto app_executable = af->executable();
HashTable<String> file_types;