| 
									
										
										
										
											2017-02-16 16:58:40 +01:00
										 |  |  | // Copyright 2017 Dolphin Emulator Project
 | 
					
						
							|  |  |  | // Licensed under GPLv2+
 | 
					
						
							|  |  |  | // Refer to the license.txt file included.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #pragma once
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-05-18 13:53:52 +01:00
										 |  |  | #include <array>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-02-16 16:58:40 +01:00
										 |  |  | namespace Config | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  | enum class LayerType | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |   Base, | 
					
						
							|  |  |  |   GlobalGame, | 
					
						
							|  |  |  |   LocalGame, | 
					
						
							|  |  |  |   Movie, | 
					
						
							|  |  |  |   Netplay, | 
					
						
							|  |  |  |   CommandLine, | 
					
						
							|  |  |  |   CurrentRun, | 
					
						
							|  |  |  |   Meta, | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | enum class System | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |   Main, | 
					
						
							| 
									
										
										
										
											2017-08-01 22:37:42 +08:00
										 |  |  |   SYSCONF, | 
					
						
							| 
									
										
										
										
											2017-02-16 16:58:40 +01:00
										 |  |  |   GCPad, | 
					
						
							|  |  |  |   WiiPad, | 
					
						
							|  |  |  |   GCKeyboard, | 
					
						
							|  |  |  |   GFX, | 
					
						
							|  |  |  |   Logger, | 
					
						
							|  |  |  |   Debugger, | 
					
						
							|  |  |  |   UI, | 
					
						
							|  |  |  | }; | 
					
						
							| 
									
										
										
										
											2017-05-18 13:53:52 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | constexpr std::array<LayerType, 7> SEARCH_ORDER{{ | 
					
						
							|  |  |  |     LayerType::CurrentRun, LayerType::CommandLine, LayerType::Movie, LayerType::Netplay, | 
					
						
							|  |  |  |     LayerType::LocalGame, LayerType::GlobalGame, LayerType::Base, | 
					
						
							|  |  |  | }}; | 
					
						
							| 
									
										
										
										
											2017-02-16 16:58:40 +01:00
										 |  |  | } |