00001 #ifndef GAMEDETAILS_H_ 00002 #define GAMEDETAILS_H_ 00003 00004 #include <QString> 00005 00006 #include "mythscreentype.h" 00007 #include "rominfo.h" 00008 00009 class GameDetailsPopup : public MythScreenType 00010 { 00011 Q_OBJECT 00012 00013 public: 00014 GameDetailsPopup(MythScreenStack *parent, const RomInfo *romInfo); 00015 ~GameDetailsPopup(); 00016 00017 bool Create(void); 00018 void SetReturnEvent(QObject *retobject, const QString &resultid); 00019 00020 private slots: 00021 void Play(void); 00022 00023 private: 00024 void handleText(const QString &name, const QString &value); 00025 void handleImage(const QString &name, const QString &filename); 00026 00027 const RomInfo *m_romInfo; 00028 QString m_id; 00029 QObject *m_retObject; 00030 00031 MythUIText *m_gameName; 00032 MythUIText *m_gameType; 00033 MythUIText *m_romName; 00034 MythUIText *m_crc; 00035 MythUIText *m_romPath; 00036 MythUIText *m_genre; 00037 MythUIText *m_year; 00038 MythUIText *m_country; 00039 MythUIText *m_plot; 00040 MythUIText *m_publisher; 00041 MythUIText *m_allSystems; 00042 MythUIImage *m_fanartImage; 00043 MythUIImage *m_boxImage; 00044 00045 MythUIButton *m_playButton; 00046 MythUIButton *m_doneButton; 00047 }; 00048 00049 #endif 00050
1.6.3