summaryrefslogtreecommitdiff
path: root/xmerge/source/activesync/XMergeFilter.h
diff options
context:
space:
mode:
Diffstat (limited to 'xmerge/source/activesync/XMergeFilter.h')
-rw-r--r--xmerge/source/activesync/XMergeFilter.h73
1 files changed, 73 insertions, 0 deletions
diff --git a/xmerge/source/activesync/XMergeFilter.h b/xmerge/source/activesync/XMergeFilter.h
new file mode 100644
index 000000000000..54128f325125
--- /dev/null
+++ b/xmerge/source/activesync/XMergeFilter.h
@@ -0,0 +1,73 @@
+// XMergeFilter.h: interface for the CXMergeFilter class.
+//
+//////////////////////////////////////////////////////////////////////
+
+#if !defined(AFX_XMERGEFILTER_H__25C39F6B_A1D7_408E_8F58_9CBEE9A666CC__INCLUDED_)
+#define AFX_XMERGEFILTER_H__25C39F6B_A1D7_408E_8F58_9CBEE9A666CC__INCLUDED_
+
+#if _MSC_VER > 1000
+#pragma once
+#endif // _MSC_VER > 1000
+
+
+
+
+
+class CXMergeFilter : public ICeFileFilter
+{
+protected:
+ long m_cRef;
+
+private:
+ TCHAR* GetXMergeClassPath();
+ TCHAR* GetJavaBaseDir();
+
+ TCHAR* m_szJavaBaseDir;
+ TCHAR* m_szClasspath;
+
+ BOOL m_bHaveExcel;
+ BOOL m_bHaveWord;
+
+
+public:
+ static const LPTSTR m_pszPSWExportCLSID;
+ static const LPTSTR m_pszPSWExportExt;
+ static const LPTSTR m_pszPSWExportDesc;
+ static const LPTSTR m_pszPSWExportShortDesc;
+
+ static const LPTSTR m_pszPSWImportCLSID;
+ static const LPTSTR m_pszPSWImportExt;
+ static const LPTSTR m_pszPSWImportDesc;
+ static const LPTSTR m_pszPSWImportShortDesc;
+
+ static const LPTSTR m_pszPXLExportCLSID;
+ static const LPTSTR m_pszPXLExportExt;
+ static const LPTSTR m_pszPXLExportDesc;
+ static const LPTSTR m_pszPXLExportShortDesc;
+
+ static const LPTSTR m_pszPXLImportCLSID;
+ static const LPTSTR m_pszPXLImportExt;
+ static const LPTSTR m_pszPXLImportDesc;
+ static const LPTSTR m_pszPXLImportShortDesc;
+
+public:
+ CXMergeFilter();
+ virtual ~CXMergeFilter();
+
+
+ /********** IUnknown methods **********/
+ STDMETHODIMP QueryInterface(REFIID iid, void **ppvObject);
+ STDMETHODIMP_(ULONG) AddRef();
+ STDMETHODIMP_(ULONG) Release();
+
+ /********** ICeFileFilter methods *********/
+ STDMETHODIMP FilterOptions(HWND hwndParent);
+ STDMETHODIMP FormatMessage(DWORD dwFlags, DWORD dwMessageId, DWORD dwLanguageId,
+ LPTSTR lpBuffer, DWORD nSize, va_list *Arguments, DWORD *pcb);
+ STDMETHODIMP NextConvertFile(int nConversion, CFF_CONVERTINFO *pci,
+ CFF_SOURCEFILE *psf, CFF_DESTINATIONFILE *pdf,
+ volatile BOOL *pbCancel, CF_ERROR *perr);
+
+};
+
+#endif // !defined(AFX_XMERGEFILTER_H__25C39F6B_A1D7_408E_8F58_9CBEE9A666CC__INCLUDED_)