summaryrefslogtreecommitdiff
path: root/src/ipc.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-04-18 14:03:05 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-04-18 14:03:05 +0300
commit70afbe693135d69c3855fc2b5bb28249ce471cc9 (patch)
treee8ba5592e5c82f1ddf9ff45b660d178514f01ae1 /src/ipc.h
parent9fd5f867ae1a3d5ed8278359582cd99ca89a0318 (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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ipc.h b/src/ipc.h
index 8127bf86..69852876 100644
--- a/src/ipc.h
+++ b/src/ipc.h
@@ -21,6 +21,7 @@ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ 21SOFTWARE, 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
41iBool write_Ipc (iProcessId pid, const iString *input, enum iIpcWrite type); 42iBool write_Ipc (iProcessId pid, const iString *input, enum iIpcWrite type);
43
44#endif /* defined (LAGRANGE_ENABLE_IPC) */