ovdCSettingViewFactory.h 729 Bytes
Newer Older
Serrière Guillaume's avatar
Serrière Guillaume committed
1 2 3 4 5 6 7 8 9 10 11 12
#ifndef OVDCSETTINGVIEWFACTORY_H
#define OVDCSETTINGVIEWFACTORY_H

#include "../ovd_base.h"
#include "ovdCAbstractSettingView.h"

namespace OpenViBEDesigner
{
	namespace Setting
	{
		class CSettingViewFactory{
		public:
Serrière Guillaume's avatar
Serrière Guillaume committed
13 14
			CSettingViewFactory(const OpenViBE::CString & rBuilderName,
								const OpenViBE::Kernel::IKernelContext& rKernelContext);
Serrière Guillaume's avatar
Serrière Guillaume committed
15 16

			CAbstractSettingView* getSettingView(OpenViBE::Kernel::IBox &rBox,
Serrière Guillaume's avatar
Serrière Guillaume committed
17
												 OpenViBE::uint32 ui32Index);
Serrière Guillaume's avatar
Serrière Guillaume committed
18

19 20
			CAbstractSettingView* getSettingView(OpenViBE::CIdentifier &rIdentifierType);

Serrière Guillaume's avatar
Serrière Guillaume committed
21 22 23
		private:
			::GtkBuilder* m_pBuilder;
			OpenViBE::CString m_sBuilderName;
Serrière Guillaume's avatar
Serrière Guillaume committed
24
			const OpenViBE::Kernel::IKernelContext& m_rKernelContext;
Serrière Guillaume's avatar
Serrière Guillaume committed
25 26 27 28 29 30
		};
	}

}

#endif // OVDCSETTINGVIEWFACTORY_H