CMake/Source/FLTKDialog/CMakeSetupGUIImplementation.h

52 lines
1.4 KiB
C
Raw Normal View History

#ifndef CMakeSetupGUIImplementation_h
#define CMakeSetupGUIImplementation_h
#include "CMakeSetupGUI.h"
#include "FLTKPropertyList.h"
/**
*
* This class implements the virtual methods
* declared in the GUI interface
*
*/
class CMakeSetupGUIImplementation : public CMakeSetupGUI
{
public:
CMakeSetupGUIImplementation();
virtual ~CMakeSetupGUIImplementation();
virtual void Close( void );
virtual void Show( void );
2001-05-17 20:36:44 +04:00
virtual void UpdateData( bool option );
virtual void BuildProjectFiles( void );
virtual void BrowseForBinaryPath( void );
virtual void BrowseForSourcePath( void );
virtual bool SetBinaryPath( const char * path );
virtual bool SetSourcePath( const char * path );
2001-05-17 20:36:44 +04:00
virtual void SaveCacheFromGUI( void );
virtual void LoadCacheFromDiskToGUI( void );
virtual void FillCacheGUIFromCacheManager( void );
2001-06-11 05:36:04 +04:00
virtual void FillCacheManagerFromCacheGUI( void );
2001-06-15 15:51:55 +04:00
virtual void SetPathToExecutable( const char * path );
private:
virtual bool VerifyBinaryPath( const std::string & path ) const;
virtual bool VerifySourcePath( const std::string & path ) const;
virtual std::string ExpandPathAndMakeItAbsolute( const std::string & inputPath ) const;
private:
fltk::PropertyList m_CacheEntriesList;
std::string m_WhereBuild;
std::string m_WhereSource;
2001-06-11 09:20:22 +04:00
std::string m_PathToExecutable;
bool m_BuildPathChanged;
};
#endif