1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 16:45:08 +00:00

FileManager: Move DirectoryView into the FileManager namespace

This commit is contained in:
Andreas Kling 2020-09-17 15:26:00 +02:00
parent 8212ba467c
commit 07d4b41bac
3 changed files with 10 additions and 0 deletions

View file

@ -39,6 +39,8 @@
#include <stdio.h>
#include <unistd.h>
namespace FileManager {
NonnullRefPtr<GUI::Action> LauncherHandler::create_launch_action(Function<void(const LauncherHandler&)> launch_handler)
{
RefPtr<Gfx::Bitmap> icon;
@ -552,3 +554,5 @@ void DirectoryView::handle_drop(const GUI::ModelIndex& index, const GUI::DropEve
}
}
};
}

View file

@ -37,6 +37,8 @@
#include <LibGUI/TableView.h>
#include <sys/stat.h>
namespace FileManager {
class LauncherHandler : public RefCounted<LauncherHandler> {
public:
LauncherHandler(const NonnullRefPtr<Desktop::Launcher::Details>& details)
@ -187,3 +189,5 @@ private:
RefPtr<GUI::Action> m_delete_action;
RefPtr<GUI::Action> m_force_delete_action;
};
}

View file

@ -68,6 +68,8 @@
#include <string.h>
#include <unistd.h>
using namespace FileManager;
static int run_in_desktop_mode(RefPtr<Core::ConfigFile>);
static int run_in_windowed_mode(RefPtr<Core::ConfigFile>, String initial_location);