Moved gPrivateScreen into the BPrivate namespace. Small cleanups to Application.cpp. Refined some comments. Used strdup() instead of new because it`s nicer for strings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10514 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -46,9 +46,13 @@ struct screen_desc {
|
||||
|
||||
|
||||
// Defined in Application.cpp
|
||||
namespace BPrivate {
|
||||
extern BPrivateScreen *gPrivateScreen;
|
||||
};
|
||||
|
||||
|
||||
using namespace BPrivate;
|
||||
|
||||
BPrivateScreen *
|
||||
BPrivateScreen::CheckOut(BWindow *win)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user