patch from Utensil Candel which refactors and documents the AutoCaptureMechanism class

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2009-01-14 13:26:37 +00:00
parent b466e85a7e
commit 17ad109b8b
4 changed files with 389 additions and 86 deletions

View File

@@ -26,20 +26,6 @@ protected: // event handlers
virtual void OnCaptureFullScreen( wxCommandEvent& event );
virtual void OnCaptureAllControls( wxCommandEvent& event );
private:
// Before a config class is written, these two functions are placed here.
// It's only a transition and they wil be removed soon
wxString GetDefaultDirectory() const { return _T("screenshots"); }
wxString GetDefaultDirectoryAbsPath() const
{
wxFileName output = wxFileName::DirName(GetDefaultDirectory());
output.MakeAbsolute();
return output.GetFullPath();
}
};
#endif // _SCREENSHOT_MAIN_H_