Add method to get slideshow number and pic slot for the background pic loader.
authorulion <ulion2002@gmail.com>
Mon, 8 Apr 2013 21:15:09 +0000 (05:15 +0800)
committerulion <ulion2002@gmail.com>
Thu, 2 May 2013 11:39:48 +0000 (19:39 +0800)
xbmc/pictures/GUIWindowSlideShow.h

index 37bc245..3fea184 100644 (file)
@@ -43,6 +43,8 @@ public:
   void Create(CGUIWindowSlideShow *pCallback);
   void LoadPic(int iPic, int iSlideNumber, const CStdString &strFileName, const int maxWidth, const int maxHeight);
   bool IsLoading() { return m_isLoading;};
+  int SlideNumber() const { return m_iSlideNumber; }
+  int Pic() const { return m_iPic; }
 
 private:
   void Process();