xref: /haiku/src/add-ons/media/media-add-ons/equalizer/EqualizerAddOn.h (revision 220d04022750f40f8bac8f01fa551211e28d04f2)
1 /*
2  * Copyright 2012, Gerasim Troeglazov (3dEyes**), 3dEyes@gmail.com.
3  * All rights reserved.
4  * Distributed under the terms of the MIT License.
5  */
6 
7 #ifndef __EQUALIZER_ADDON_H__
8 #define __EQUALIZER_ADDON_H__
9 
10 #include <MediaAddOn.h>
11 
12 class EqualizerAddOn : public BMediaAddOn {
13 public:
14 	virtual		 			~EqualizerAddOn();
15 	explicit 				EqualizerAddOn(image_id image);
16 	virtual		status_t 	InitCheck(const char** text);
17 	virtual		int32 		CountFlavors();
18 	virtual		status_t 	GetFlavorAt(int32 idx, const flavor_info** info);
19 	virtual		BMediaNode* InstantiateNodeFor(const flavor_info* info, BMessage* config,
20 							status_t *err);
21 	virtual		status_t 	GetConfigurationFor(BMediaNode* node, BMessage* message);
22 	virtual		bool 		WantsAutoStart();
23 	virtual		status_t 	AutoStart(int count, BMediaNode** node,	int32* id, bool* more);
24 };
25 
26 #endif //__EQUALIZER_ADDON_H__
27