BToolbar: move into BPrivate namespace, as it's not public yet

This commit is contained in:
Jessica Hamilton
2014-11-06 16:44:02 +13:00
parent 6195bee580
commit 9f8197a872
3 changed files with 12 additions and 1 deletions
+5
View File
@@ -10,6 +10,7 @@
class BButton; class BButton;
namespace BPrivate {
class BToolbar : public BGroupView { class BToolbar : public BGroupView {
public: public:
@@ -42,4 +43,8 @@ private:
void _HideToolTips() const; void _HideToolTips() const;
}; };
} // namespace BPrivate
using BPrivate::BToolbar;
#endif // _TOOLBAR_H #endif // _TOOLBAR_H
+1 -1
View File
@@ -11,6 +11,7 @@
#define SHOW_IMAGE_WINDOW_H #define SHOW_IMAGE_WINDOW_H
#include <Toolbar.h>
#include <Window.h> #include <Window.h>
#include "ImageFileNavigator.h" #include "ImageFileNavigator.h"
@@ -27,7 +28,6 @@ class BScrollView;
class ProgressWindow; class ProgressWindow;
class ShowImageView; class ShowImageView;
class ShowImageStatusView; class ShowImageStatusView;
class BToolbar;
// public message constants // public message constants
+6
View File
@@ -10,6 +10,10 @@
#include <SeparatorView.h> #include <SeparatorView.h>
#include <SpaceLayoutItem.h> #include <SpaceLayoutItem.h>
namespace BPrivate {
class LockableButton: public BButton { class LockableButton: public BButton {
public: public:
LockableButton(const char* name, const char* label, LockableButton(const char* name, const char* label,
@@ -196,3 +200,5 @@ BToolbar::_HideToolTips() const
view->HideToolTip(); view->HideToolTip();
} }
} // namespace BPrivate