| 1 |
////////////////////////////////////////////////////////////////////////////// |
| 2 |
////////////////////////////////////////////////////////////////////////////// |
| 3 |
// |
| 4 |
// copyright : (C) 2008 by Eran Ifrah |
| 5 |
// file name : comment_creator.h |
| 6 |
// |
| 7 |
// ------------------------------------------------------------------------- |
| 8 |
// A |
| 9 |
// _____ _ _ _ _ |
| 10 |
// / __ \ | | | | (_) | |
| 11 |
// | / \/ ___ __| | ___| | _| |_ ___ |
| 12 |
// | | / _ \ / _ |/ _ \ | | | __/ _ ) |
| 13 |
// | \__/\ (_) | (_| | __/ |___| | || __/ |
| 14 |
// \____/\___/ \__,_|\___\_____/_|\__\___| |
| 15 |
// |
| 16 |
// F i l e |
| 17 |
// |
| 18 |
// This program is free software; you can redistribute it and/or modify |
| 19 |
// it under the terms of the GNU General Public License as published by |
| 20 |
// the Free Software Foundation; either version 2 of the License, or |
| 21 |
// (at your option) any later version. |
| 22 |
// |
| 23 |
////////////////////////////////////////////////////////////////////////////// |
| 24 |
////////////////////////////////////////////////////////////////////////////// |
| 25 |
#ifndef COMMENT_CREATOT_H |
| 26 |
#define COMMENT_CREATOT_H |
| 27 |
|
| 28 |
#include "wx/string.h" |
| 29 |
|
| 30 |
/** |
| 31 |
* \ingroup CodeLite |
| 32 |
* an interface class to the comment creator. |
| 33 |
* |
| 34 |
* \version 1.0 |
| 35 |
* first version |
| 36 |
* |
| 37 |
* \date 07-20-2007 |
| 38 |
* |
| 39 |
* \author Eran |
| 40 |
* |
| 41 |
*/ |
| 42 |
class CommentCreator |
| 43 |
{ |
| 44 |
protected: |
| 45 |
wxChar m_keyPrefix; |
| 46 |
|
| 47 |
public: |
| 48 |
CommentCreator(wxChar keyPrefix = wxT('\\')) : m_keyPrefix(keyPrefix) {} |
| 49 |
virtual ~CommentCreator(){} |
| 50 |
virtual wxString CreateComment() = 0; |
| 51 |
}; |
| 52 |
#endif //COMMENT_CREATOT_H |