Some cleanup.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22568 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2007-10-15 14:09:14 +00:00
parent 4c437c0fc7
commit 332d5f437e
2 changed files with 71 additions and 48 deletions
+11 -9
View File
@@ -1,13 +1,15 @@
/*
** Copyright 2003, Axel Dörfler, [email protected]. All rights reserved.
** Distributed under the terms of the OpenBeOS License.
*/
/*
* Copyright 2003-2007, Axel Dörfler, [email protected]. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef DEFAULT_MEDIA_THEME_H
#define DEFAULT_MEDIA_THEME_H
#include <MediaTheme.h>
class BParameterGroup;
namespace BPrivate {
@@ -15,18 +17,18 @@ class DefaultMediaTheme : public BMediaTheme {
public:
DefaultMediaTheme();
virtual BControl *MakeControlFor(BParameter *parameter);
virtual BControl* MakeControlFor(BParameter* parameter);
static BControl *MakeViewFor(BParameter *parameter, const BRect *hintRect = NULL);
static BControl* MakeViewFor(BParameter* parameter, const BRect* hintRect = NULL);
// this is also called by the BMediaTheme::MakeFallbackViewFor()
// method - that's why it's a static.
protected:
virtual BView *MakeViewFor(BParameterWeb *web, const BRect *hintRect = NULL);
virtual BView* MakeViewFor(BParameterWeb* web, const BRect* hintRect = NULL);
private:
BView *MakeViewFor(BParameterGroup &group, const BRect &hintRect);
BView *MakeSelfHostingViewFor(BParameter &parameter, const BRect &hintRect);
BView* MakeViewFor(BParameterGroup& group, const BRect* hintRect);
BView* MakeSelfHostingViewFor(BParameter& parameter, const BRect* hintRect);
};
} // namespace BPrivate