mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:27:43 +00:00
Userland: Rename IPC ClientConnection => ConnectionFromClient
This was done with CLion's automatic rename feature and with: find . -name ClientConnection.h | rename 's/ClientConnection\.h/ConnectionFromClient.h/' find . -name ClientConnection.cpp | rename 's/ClientConnection\.cpp/ConnectionFromClient.cpp/'
This commit is contained in:
parent
efac862570
commit
3a71748e5d
137 changed files with 896 additions and 896 deletions
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <Clipboard/ClientConnection.h>
|
||||
#include <Clipboard/ConnectionFromClient.h>
|
||||
#include <Clipboard/Storage.h>
|
||||
#include <LibCore/EventLoop.h>
|
||||
#include <LibCore/System.h>
|
||||
|
@ -17,10 +17,10 @@ ErrorOr<int> serenity_main(Main::Arguments)
|
|||
Core::EventLoop event_loop;
|
||||
TRY(Core::System::unveil(nullptr, nullptr));
|
||||
|
||||
auto server = TRY(IPC::MultiServer<Clipboard::ClientConnection>::try_create());
|
||||
auto server = TRY(IPC::MultiServer<Clipboard::ConnectionFromClient>::try_create());
|
||||
|
||||
Clipboard::Storage::the().on_content_change = [&] {
|
||||
Clipboard::ClientConnection::for_each_client([&](auto& client) {
|
||||
Clipboard::ConnectionFromClient::for_each_client([&](auto& client) {
|
||||
client.notify_about_clipboard_change();
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue