1/*
2 * Copyright 2003-2007, Axel D��rfler, axeld@pinc-software.de. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5#ifndef DEFAULT_MEDIA_THEME_H
6#define DEFAULT_MEDIA_THEME_H
7
8
9#include <MediaTheme.h>
10
11class BParameterGroup;
12
13
14namespace BPrivate {
15
16class DefaultMediaTheme : public BMediaTheme {
17public:
18		DefaultMediaTheme();
19
20		virtual	BControl* MakeControlFor(BParameter* parameter);
21
22		static BControl* MakeViewFor(BParameter* parameter);
23			// this is also called by the BMediaTheme::MakeFallbackViewFor()
24			// method - that's why it's a static.
25
26protected:
27		virtual	BView* MakeViewFor(BParameterWeb* web, const BRect* hintRect = NULL);
28
29private:
30		BView* MakeViewFor(BParameterGroup& group);
31		BView* MakeSelfHostingViewFor(BParameter& parameter);
32};
33
34}	// namespace BPrivate
35
36#endif	/* DEFAULT_MEDIA_THEME_H */
37