00001
00033 #ifndef INC_MGUI_LISTITEM_H
00034 #define INC_MGUI_LISTITEM_H
00035
00036 #ifndef INC_MI32_MISTRING_H
00037 #include <mi32/mistring.h>
00038 #endif
00039
00040 namespace MGUI {
00041
00044 class LISTITEM {
00045 public:
00046
00048 LISTITEM (
00049 const MISTRING& string,
00050 ID id
00051 ): m_string(string), m_id(id) { }
00052
00054 ID GetID (
00055 ) const { return (m_id); }
00056
00058 const MISTRING& GetString (
00059 ) const { return (m_string); }
00060
00061 private:
00062 #ifndef GENERATING_DOXYGEN_OUTPUT
00063 MISTRING m_string;
00064 ID m_id;
00065 #endif // GENERATING_DOXYGEN_OUTPUT
00066 };
00067
00068
00069 }
00070
00071 #endif // INC_MGUI_LISTITEM_H