diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-04-18 14:03:05 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-04-18 14:03:05 +0300 |
commit | 70afbe693135d69c3855fc2b5bb28249ce471cc9 (patch) | |
tree | e8ba5592e5c82f1ddf9ff45b660d178514f01ae1 /src/ipc.h | |
parent | 9fd5f867ae1a3d5ed8278359582cd99ca89a0318 (diff) |
Added build option to disable IPC
It may take a while to add D-Bus support, so adding a way to disable the incompatible IPC mechanism for Flatpak builds.
IssueID #245
Diffstat (limited to 'src/ipc.h')
-rw-r--r-- | src/ipc.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -21,6 +21,7 @@ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |||
21 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | 21 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ |
22 | 22 | ||
23 | #pragma once | 23 | #pragma once |
24 | #if defined (LAGRANGE_ENABLE_IPC) | ||
24 | 25 | ||
25 | #include <the_Foundation/string.h> | 26 | #include <the_Foundation/string.h> |
26 | #include <the_Foundation/process.h> | 27 | #include <the_Foundation/process.h> |
@@ -39,3 +40,5 @@ enum iIpcWrite { | |||
39 | }; | 40 | }; |
40 | 41 | ||
41 | iBool write_Ipc (iProcessId pid, const iString *input, enum iIpcWrite type); | 42 | iBool write_Ipc (iProcessId pid, const iString *input, enum iIpcWrite type); |
43 | |||
44 | #endif /* defined (LAGRANGE_ENABLE_IPC) */ | ||