CMakeSetupGUIImplementation.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #ifndef CMakeSetupGUIImplementation_h
  2. #define CMakeSetupGUIImplementation_h
  3. #include "CMakeSetupGUI.h"
  4. #include "FLTKPropertyList.h"
  5. /**
  6. *
  7. * This class implements the virtual methods
  8. * declared in the GUI interface
  9. *
  10. */
  11. class CMakeSetupGUIImplementation : public CMakeSetupGUI
  12. {
  13. public:
  14. CMakeSetupGUIImplementation();
  15. virtual ~CMakeSetupGUIImplementation();
  16. virtual void Close( void );
  17. virtual void Show( void );
  18. virtual void UpdateData( bool option );
  19. virtual void BuildProjectFiles( void );
  20. virtual void BrowseForBinaryPath( void );
  21. virtual void BrowseForSourcePath( void );
  22. virtual bool SetBinaryPath( const char * path );
  23. virtual bool SetSourcePath( const char * path );
  24. virtual void SaveCacheFromGUI( void );
  25. virtual void LoadCacheFromDiskToGUI( void );
  26. virtual void FillCacheGUIFromCacheManager( void );
  27. virtual void FillCacheManagerFromCacheGUI( void );
  28. private:
  29. virtual bool VerifyBinaryPath( const std::string & path ) const;
  30. virtual bool VerifySourcePath( const std::string & path ) const;
  31. virtual std::string ExpandPathAndMakeItAbsolute( const std::string & inputPath ) const;
  32. private:
  33. fltk::PropertyList m_CacheEntriesList;
  34. std::string m_WhereBuild;
  35. std::string m_WhereSource;
  36. std::string m_PathToExecutable;
  37. bool m_BuildPathChanged;
  38. };
  39. #endif