Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
697 B

  1. #include "shellprv.h"
  2. #include "ids.h"
  3. #include "dlglogic.h"
  4. extern DWORD _DbgLocalAllocCount = 0;
  5. CDataImpl::CDataImpl()
  6. {}
  7. CDataImpl::~CDataImpl()
  8. {}
  9. void CDataImpl::_SetDirty(BOOL fDirty)
  10. {
  11. _fDirty = fDirty;
  12. }
  13. BOOL CDataImpl::IsDirty()
  14. {
  15. return _fDirty;
  16. }
  17. void CDataImpl::SetDeleted(BOOL fDeleted)
  18. {
  19. _fDeleted = fDeleted;
  20. }
  21. BOOL CDataImpl::IsDeleted()
  22. {
  23. return _fDeleted;
  24. }
  25. void CDataImpl::SetNew(BOOL fNew)
  26. {
  27. _fNew = fNew;
  28. }
  29. BOOL CDataImpl::IsNew()
  30. {
  31. return _fNew;
  32. }
  33. HRESULT CDataImpl::CommitChangesToStorage()
  34. {
  35. return S_FALSE;
  36. }
  37. HRESULT CDataImpl::AddToStorage()
  38. {
  39. return S_FALSE;
  40. }
  41. HRESULT CDataImpl::DeleteFromStorage()
  42. {
  43. return S_FALSE;
  44. }