diff options
Diffstat (limited to 'plugins/Quotes/m_Quotes.h')
-rw-r--r-- | plugins/Quotes/m_Quotes.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/plugins/Quotes/m_Quotes.h b/plugins/Quotes/m_Quotes.h new file mode 100644 index 0000000000..f4bbb06cd3 --- /dev/null +++ b/plugins/Quotes/m_Quotes.h @@ -0,0 +1,35 @@ +#ifndef __7D8F07A4_72AF_4838_9C5C_6FDFF57D0DC6_m_Quotes_h__
+#define __7D8F07A4_72AF_4838_9C5C_6FDFF57D0DC6_m_Quotes_h__
+
+/*
+ * Export the contact (or all contacts) to xml file
+ * wParam = (WPARAM)(HANDLE)hContact to export or 0 to export all contacts
+ * lParam = (LPARAM)(const char*)pszFileName - pointer to file name to export or
+ * 0 in this case the dialog to select a file to export would be shown
+ * returns 0 if export was successfull,
+ * -1 if user canceled export and
+ * value greater than zero if error occurred during exporting
+ */
+#define MS_QUOTES_EXPORT "Quotes/Export"
+
+/*
+ * Import the contact (or all contacts) from xml file
+ * wParam = flags
+ * lParam = (LPARAM)(const char*)pszFileName - pointer to file name to import or
+ * 0 in this case the dialog to select a file to import would be shown
+ * returns 0 if import was successfull,
+ * -1 if user canceled import and
+ * value greater than zero if error occurred during importing
+ */
+
+// if contact(s) exists user would be asked to overwrite these contacts
+// #define QUOTES_IMPORT_PROMPT_TO_OVERWRITE_EXISTING_CONTACTS 0x0000
+// if contact(s) exists it would be overwrite without any prompt
+// #define QUOTES_IMPORT_SILENT_OVERWRITE_EXISTING_CONTACTS 0x0001
+// if contact(s) exists during importing it would be ignored
+#define QUOTES_IMPORT_SKIP_EXISTING_CONTACTS 0x0002
+
+#define MS_QUOTES_IMPORT "Quotes/Import"
+
+
+#endif //__7D8F07A4_72AF_4838_9C5C_6FDFF57D0DC6_m_Quotes_h__
|