1 /*
2 * This file is part of wxSmith plugin for Code::Blocks Studio
3 * Copyright (C) 2006-2007  Bartlomiej Swiecki
4 *
5 * wxSmith is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * wxSmith is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with wxSmith. If not, see <http://www.gnu.org/licenses/>.
17 *
18 * $Revision: 7109 $
19 * $Id: wxsitemrestreedata.h 7109 2011-04-15 11:53:16Z mortenmacfly $
20 * $HeadURL: svn://svn.code.sf.net/p/codeblocks/code/branches/release-20.xx/src/plugins/contrib/wxSmith/wxwidgets/wxsitemrestreedata.h $
21 */
22 
23 #ifndef WXSITEMRESTREEDATA_H
24 #define WXSITEMRESTREEDATA_H
25 
26 #include "../wxsresourcetreeitemdata.h"
27 
28 class wxsItem;
29 
30 /** \brief Class responsible for operations on wxWidgets items inside resource tree */
31 class wxsItemResTreeData: public wxsResourceTreeItemData
32 {
33     public:
34 
35         /** \brief Ctor */
36         wxsItemResTreeData(wxsItem* Item);
37 
38         /** \brief Dctor */
39         virtual ~wxsItemResTreeData();
40 
41     private:
42 
43         virtual void OnSelect();
44         virtual void OnRightClick();
45 
46         wxsItem* m_Item;
47 };
48 
49 
50 #endif
51