mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:37:46 +00:00
FileSystemAccessServer: Add service for accessing veiled files nicely
Adds new service FileSystemAccessServer which allows programs to request a file descriptor for any file on the file system. The user can be prompted to choose the path with a FilePicker, or the path can be provided by the application which will show a MessageBox showing the pid and name of the calling process and allows the user to approve or deny the request.
This commit is contained in:
parent
5e823d3de0
commit
41ce2debda
8 changed files with 246 additions and 0 deletions
18
Userland/Services/FileSystemAccessServer/CMakeLists.txt
Normal file
18
Userland/Services/FileSystemAccessServer/CMakeLists.txt
Normal file
|
@ -0,0 +1,18 @@
|
|||
serenity_component(
|
||||
FileSystemAccessServer
|
||||
REQUIRED
|
||||
TARGETS FileSystemAccessServer
|
||||
)
|
||||
|
||||
compile_ipc(FileSystemAccessServer.ipc FileSystemAccessServerEndpoint.h)
|
||||
compile_ipc(FileSystemAccessClient.ipc FileSystemAccessClientEndpoint.h)
|
||||
|
||||
set(SOURCES
|
||||
ClientConnection.cpp
|
||||
main.cpp
|
||||
FileSystemAccessServerEndpoint.h
|
||||
FileSystemAccessClientEndpoint.h
|
||||
)
|
||||
|
||||
serenity_bin(FileSystemAccessServer)
|
||||
target_link_libraries(FileSystemAccessServer LibCore LibIPC LibGUI)
|
Loading…
Add table
Add a link
Reference in a new issue