ProcessPaste.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // ProcessPaste.h: interface for the CProcessCopy class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_PROCESSPASTE_H__185CBB6F_4B63_4397_8FF9_E18D777DA506__INCLUDED_)
  5. #define AFX_PROCESSPASTE_H__185CBB6F_4B63_4397_8FF9_E18D777DA506__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #include "Shared/ArrayEx.h"
  10. #include "Clip.h"
  11. #include "ClipIds.h"
  12. #include "OleClipSource.h"
  13. #include "SpecialPasteOptions.h"
  14. /*------------------------------------------------------------------*\
  15. CProcessPaste
  16. \*------------------------------------------------------------------*/
  17. class CProcessPaste
  18. {
  19. public:
  20. COleClipSource* m_pOle;
  21. bool m_bSendPaste;
  22. bool m_bActivateTarget;
  23. CSpecialPasteOptions m_pasteOptions;
  24. bool m_pastedFromGroup;
  25. CString m_lastErrorMessage;
  26. struct MarkAsPastedData
  27. {
  28. CClipIDs ids;
  29. bool pastedFromGroup;
  30. };
  31. CProcessPaste();
  32. ~CProcessPaste();
  33. CClipIDs& GetClipIDs() { return m_pOle->m_ClipIDs; }
  34. BOOL DoPaste();
  35. BOOL DoDrag();
  36. void MarkAsPasted();
  37. static UINT MarkAsPastedThread(LPVOID pParam);
  38. };
  39. #endif // !defined(AFX_PROCESSPASTE_H__185CBB6F_4B63_4397_8FF9_E18D777DA506__INCLUDED_)