Merge pull request #4676 from jmarshallnz/dont_set_scraper_on_tvshow_on_nfo
[vuplus_xbmc] / xbmc / network / GUIDialogAccessPoints.h
1 #ifndef GUI_DIALOG_ACCES_POINTS
2 #define GUI_DIALOG_ACCES_POINTS
3
4 /*
5  *      Copyright (C) 2005-2013 Team XBMC
6  *      http://xbmc.org
7  *
8  *  This Program is free software; you can redistribute it and/or modify
9  *  it under the terms of the GNU General Public License as published by
10  *  the Free Software Foundation; either version 2, or (at your option)
11  *  any later version.
12  *
13  *  This Program is distributed in the hope that it will be useful,
14  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  *  GNU General Public License for more details.
17  *
18  *  You should have received a copy of the GNU General Public License
19  *  along with XBMC; see the file COPYING.  If not, see
20  *  <http://www.gnu.org/licenses/>.
21  *
22  */
23
24 #pragma once
25
26 #include <vector>
27 #include "guilib/GUIDialog.h"
28 #include "Network.h"
29
30 class CFileItemList;
31
32 class CGUIDialogAccessPoints : public CGUIDialog
33 {
34 public:
35   CGUIDialogAccessPoints(void);
36   virtual ~CGUIDialogAccessPoints(void);
37   virtual void OnInitWindow();
38   virtual bool OnAction(const CAction &action);
39   void SetInterfaceName(CStdString interfaceName);
40   CStdString GetSelectedAccessPointEssId();
41   EncMode GetSelectedAccessPointEncMode();
42   bool WasItemSelected();
43
44 private:
45   std::vector<NetworkAccessPoint> m_aps;
46   CStdString m_interfaceName;
47   CStdString m_selectedAPEssId;
48   EncMode m_selectedAPEncMode;
49   bool m_wasItemSelected;
50   CFileItemList *m_accessPoints;
51 };
52
53 #endif