diff --git a/headers/private/interface/AboutWindow.h b/headers/private/interface/AboutWindow.h index 225483f82f..749174a25f 100644 --- a/headers/private/interface/AboutWindow.h +++ b/headers/private/interface/AboutWindow.h @@ -15,7 +15,9 @@ #include +namespace BPrivate { class AboutView; +} class BBitmap; class BPoint; @@ -72,7 +74,7 @@ private: virtual void _ReservedAboutWindow1(); private: - AboutView* fAboutView; + BPrivate::AboutView* fAboutView; // FBC Padding uint32 _reserved[20]; diff --git a/src/kits/interface/AboutWindow.cpp b/src/kits/interface/AboutWindow.cpp index a5f32c31a6..3f683995b2 100644 --- a/src/kits/interface/AboutWindow.cpp +++ b/src/kits/interface/AboutWindow.cpp @@ -48,6 +48,8 @@ using BPrivate::gSystemCatalog; #define B_TRANSLATION_CONTEXT "AboutWindow" +namespace BPrivate { + class StripeView : public BView { public: StripeView(BBitmap* icon); @@ -371,6 +373,8 @@ AboutView::SetVersion(const char* version) return B_OK; } +} // namespace BPrivate + // #pragma mark - BAboutWindow @@ -390,7 +394,7 @@ BAboutWindow::BAboutWindow(const char* appName, const char* signature) title.ReplaceFirst("%app%", appName); SetTitle(title.String()); - fAboutView = new AboutView(appName, signature); + fAboutView = new BPrivate::AboutView(appName, signature); AddChild(fAboutView); MoveTo(AboutPosition(Frame().Width(), Frame().Height()));