summaryrefslogtreecommitdiff
path: root/src/utils/process.h
diff options
context:
space:
mode:
authorVasily <danilka.pro@gmail.com>2015-12-03 03:25:30 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-03 16:18:08 +0300
commitd090aa77c4d0b31aded37128cae011b882f3dd9b (patch)
treef7957b084285916d4dbff43b9025a2c1eb439a51 /src/utils/process.h
parent1b47ede798838c9f50ad3175c9d05e1dfbad2474 (diff)
downloadplus-d090aa77c4d0b31aded37128cae011b882f3dd9b.tar.gz
plus-d090aa77c4d0b31aded37128cae011b882f3dd9b.tar.bz2
plus-d090aa77c4d0b31aded37128cae011b882f3dd9b.tar.xz
plus-d090aa77c4d0b31aded37128cae011b882f3dd9b.zip
Added NaCl messaging and clipboard functions
Diffstat (limited to 'src/utils/process.h')
-rw-r--r--src/utils/process.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/utils/process.h b/src/utils/process.h
index 5ceddd032..44c1d2286 100644
--- a/src/utils/process.h
+++ b/src/utils/process.h
@@ -34,4 +34,16 @@ bool openBrowser(std::string url);
void setPriority(const bool big);
+#ifdef __native_client__
+
+typedef struct _NaclMessageHandle NaclMessageHandle;
+
+void naclPostMessage(const std::string &type, const std::string &message);
+
+NaclMessageHandle *naclRegisterMessageHandler(const std::string &type);
+void naclUnregisterMessageHandler(NaclMessageHandle *handle);
+std::string naclWaitForMessage(NaclMessageHandle *handle);
+
+#endif
+
#endif // UTILS_PROCESS_H