summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/WhatsAPI++/PhoneNumber.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/WhatsApp/src/WhatsAPI++/PhoneNumber.h')
-rw-r--r--protocols/WhatsApp/src/WhatsAPI++/PhoneNumber.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/protocols/WhatsApp/src/WhatsAPI++/PhoneNumber.h b/protocols/WhatsApp/src/WhatsAPI++/PhoneNumber.h
new file mode 100644
index 0000000000..aa3dd16ef9
--- /dev/null
+++ b/protocols/WhatsApp/src/WhatsAPI++/PhoneNumber.h
@@ -0,0 +1,23 @@
+/*
+ * PhoneNumber.h
+ *
+ */
+
+#ifndef PHONENUMBER_H_
+#define PHONENUMBER_H_
+
+#include <string>
+
+struct PhoneNumber
+{
+ PhoneNumber(const std::string &number);
+
+ std::string Country;
+ std::string Number;
+
+ const char *ISO3166, *ISO639;
+ int countryCode;
+ int mcc, mnc;
+};
+
+#endif /* PHONENUMBER_H_ */