BSEImgFileMgrClr.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #pragma once
  2. #include "BSEImgClr.h"
  3. #include "BSEImgFileMgr.h"
  4. namespace OTSINTERFACE {
  5. using namespace System;
  6. using namespace System::Drawing;
  7. using namespace OTSDATA;
  8. using namespace OTSMODEL;
  9. public ref class CBSEImgFileMgrClr : public Object
  10. {
  11. public:
  12. CBSEImgFileMgrClr();
  13. CBSEImgFileMgrClr(CBSEImgFileMgrPtr);
  14. CBSEImgFileMgrClr(CBSEImgFileMgr*);
  15. CBSEImgFileMgrPtr GetBSEImgFileMgrPtr();
  16. ~CBSEImgFileMgrClr();
  17. !CBSEImgFileMgrClr();
  18. public:
  19. // Load/Save
  20. bool Load(String^ a_strPathName, bool a_bClear);
  21. bool Save(String^ a_strPathName);
  22. // LoadFromBitmap
  23. bool LoadFromBitmap(String^ a_strPathName, bool a_bClear);
  24. // SaveIntoBitmap
  25. bool SaveIntoBitmap(String^ a_strPathName);
  26. // file pathname
  27. String^ GetPathName();// { return m_strPathName; }
  28. void SetPathName(String^ a_strPathName); //{ m_strPathName = a_strPathName; }
  29. //image
  30. CBSEImgClr^ GetBSEImg(); //{ return m_poBSE; }
  31. bool SetBSEImg(CBSEImgClr^ a_poBSE);
  32. protected:
  33. CBSEImgFileMgrPtr *m_BSEImgFileMgr;
  34. };
  35. }