MyGUI: MyGUI_IItem.h Source File

MyGUI 3.4.2

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files
- Examples

- File List
- Globals

MyGUI_IItem.h
Go to the documentation of this file.
1/*
2 * This source file is part of MyGUI. For the latest info, see http://mygui.info/
3 * Distributed under the MIT License
4 * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
5 */
6
7#ifndef MYGUI_I_ITEM_H_
8#define MYGUI_I_ITEM_H_
9
10#include "MyGUI_Prerequest.h"
11
12namespace MyGUI
13{
14
15 class IItemContainer;
16
17 class MYGUI_EXPORT IItem
18 {
19 public:
20 virtual ~IItem() { }
21
22 virtual IItemContainer* _getItemContainer() const
23 {
24 return nullptr;
25 }
26 };
27
28} // namespace MyGUI
29
30#endif // MYGUI_I_ITEM_H_
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition MyGUI_Platform.h:77
MyGUI_Prerequest.h
MyGUI::IItemContainer
Definition MyGUI_IItemContainer.h:19
MyGUI::IItem
Definition MyGUI_IItem.h:18
MyGUI::IItem::~IItem
virtual ~IItem()
Definition MyGUI_IItem.h:20
MyGUI::IItem::_getItemContainer
virtual IItemContainer * _getItemContainer() const
Definition MyGUI_IItem.h:22
MyGUI
Definition MyGUI_ActionController.h:15