From f843be4d3420540393ec801f5c41e9bc133ae74a Mon Sep 17 00:00:00 2001 From: Sascha Volkenandt Date: Thu, 26 Apr 2007 18:42:41 +0000 Subject: - fixed forward declaration and scope of cMenuSetup --- setup.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'setup.h') 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 + 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 -- cgit v1.2.3