//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
//
// copyright            : (C) 2008 by Eran Ifrah                            
// file name            : svnadditemsdlg.h              
//                                                                          
// -------------------------------------------------------------------------
// A                                                                        
//              _____           _      _     _ _                            
//             /  __ \         | |    | |   (_) |                           
//             | /  \/ ___   __| | ___| |    _| |_ ___                      
//             | |    / _ \ / _  |/ _ \ |   | | __/ _ )                     
//             | \__/\ (_) | (_| |  __/ |___| | ||  __/                     
//              \____/\___/ \__,_|\___\_____/_|\__\___|                     
//                                                                          
//                                                  F i l e                 
//                                                                          
//    This program is free software; you can redistribute it and/or modify  
//    it under the terms of the GNU General Public License as published by  
//    the Free Software Foundation; either version 2 of the License, or     
//    (at your option) any later version.                                   
//                                                                          
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
 #ifndef __svnadditemsdlg__
#define __svnadditemsdlg__

/**
@file
Subclass of svnadditemsbasedlg, which is generated by wxFormBuilder.
*/

#include "svnoptions.h"
#include "svnadditemsbasedlg.h"

class IConfigTool;

/** Implementing svnadditemsbasedlg */
class SvnAddItemsDlg : public SvnAddItemsBaseDlg
{
	IConfigTool *m_configTool;
	SvnOptions m_data;
	wxArrayString m_files;

protected:
	void InitDialog(bool loadPattern = false);
	bool IsIgnoredFile(const wxString &file);
	void OnButtonCancel(wxCommandEvent &e);
	void OnButtonOK(wxCommandEvent &e);
	void OnApplyPattern(wxCommandEvent &e);

public:
	/** Constructor */
	SvnAddItemsDlg( wxWindow* parent , const wxArrayString &files, IConfigTool *confTool);
	wxString GetFiles();
};

#endif // __svnadditemsdlg__
