diff options
Diffstat (limited to 'protocols/WhatsApp/src/WhatsAPI++/IMutex.h')
-rw-r--r-- | protocols/WhatsApp/src/WhatsAPI++/IMutex.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/protocols/WhatsApp/src/WhatsAPI++/IMutex.h b/protocols/WhatsApp/src/WhatsAPI++/IMutex.h new file mode 100644 index 0000000000..56a5492ac9 --- /dev/null +++ b/protocols/WhatsApp/src/WhatsAPI++/IMutex.h @@ -0,0 +1,14 @@ +#if !defined(IMUTEX_H)
+#define IMUTEX_H
+
+class IMutex
+{
+public:
+ IMutex() {}
+ virtual ~IMutex() {}
+
+ virtual void lock() = 0;
+ virtual void unlock() = 0;
+};
+
+#endif
\ No newline at end of file |