Deskflow 1.26.0.443
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
OSXAutoReleasePool.h
Go to the documentation of this file.
1/*
2 * Deskflow -- mouse and keyboard sharing utility
3 * SPDX-FileCopyrightText: (C) 2026 Deskflow Developers
4 * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
5 */
6
7#pragma once
8
9#include <functional>
10
11namespace deskflow {
12
14bool runInAutoReleasePool(const std::function<bool()> &fn);
15
16} // namespace deskflow
Definition DaemonApp.h:18
bool runInAutoReleasePool(const std::function< bool()> &fn)
Run fn inside an Objective-C @autoreleasepool block.
Definition OSXAutoReleasePool.mm:13