summaryrefslogtreecommitdiff
path: root/plugins/Quotes/m_Quotes.h
blob: f4bbb06cd3db22a8775d7695504d8cfb87d326de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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__