summaryrefslogtreecommitdiff
path: root/setup.h
diff options
context:
space:
mode:
authorSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-04-26 18:42:41 +0000
committerSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-04-26 18:42:41 +0000
commitf843be4d3420540393ec801f5c41e9bc133ae74a (patch)
tree9881f3ccec382a1572d37386f4986da3f97da811 /setup.h
parent2cbd5711c15ebc3d3eda021a109f552bd9d828c2 (diff)
downloadvdr-plugin-live-f843be4d3420540393ec801f5c41e9bc133ae74a.tar.gz
vdr-plugin-live-f843be4d3420540393ec801f5c41e9bc133ae74a.tar.bz2
- fixed forward declaration and scope of cMenuSetup
Diffstat (limited to 'setup.h')
-rw-r--r--setup.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/setup.h b/setup.h
index a41baa1..02e934c 100644
--- a/setup.h
+++ b/setup.h
@@ -7,12 +7,17 @@
#include "live.h"
#include <vdr/menuitems.h>
+
namespace vdrlive {
+// forward declaration, see below
+class cMenuSetupLive;
+
class Setup
{
friend Setup& LiveSetup();
- friend class cMenuSetupLive;
+ friend class cMenuSetupLive; // friend declaration is not forward
+ // declaration, although gcc 3.3 claims so
public:
typedef std::list< std::string > IpList;
@@ -60,8 +65,6 @@ private:
Setup& LiveSetup();
-} // namespace vdrlive
-
class cMenuSetupLive : public cMenuSetupPage {
protected:
@@ -80,5 +83,6 @@ private:
char m_adminPassword[20];
};
+} // namespace vdrlive
#endif // VDR_LIVE_SETUP_H