| 
									
										
										
										
											2018-01-04 18:38:09 +00:00
										 |  |  | // Copyright 2018 Dolphin Emulator Project
 | 
					
						
							|  |  |  | // Licensed under GPLv2+
 | 
					
						
							|  |  |  | // Refer to the license.txt file included.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #pragma once
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-07-07 00:40:15 +02:00
										 |  |  | #include "DolphinQt/Config/Mapping/MappingWidget.h"
 | 
					
						
							| 
									
										
										
										
											2018-01-04 18:38:09 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | class QCheckBox; | 
					
						
							|  |  |  | class QFormLayout; | 
					
						
							|  |  |  | class QGroupBox; | 
					
						
							|  |  |  | class QHBoxLayout; | 
					
						
							|  |  |  | class QLabel; | 
					
						
							|  |  |  | class QVBoxLayout; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class GCMicrophone final : public MappingWidget | 
					
						
							|  |  |  | { | 
					
						
							| 
									
										
										
										
											2018-05-13 16:16:20 -04:00
										 |  |  |   Q_OBJECT | 
					
						
							| 
									
										
										
										
											2018-01-04 18:38:09 +00:00
										 |  |  | public: | 
					
						
							|  |  |  |   explicit GCMicrophone(MappingWindow* window); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   InputConfig* GetConfig() override; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | private: | 
					
						
							|  |  |  |   void LoadSettings() override; | 
					
						
							|  |  |  |   void SaveSettings() override; | 
					
						
							|  |  |  |   void CreateMainLayout(); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   QHBoxLayout* m_main_layout; | 
					
						
							|  |  |  | }; |