mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-11-04 07:10:57 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			476 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			476 B
		
	
	
	
		
			C++
		
	
	
	
	
	
/*
 | 
						|
 * Copyright (c) 2021, Dex♪ <dexes.ttp@gmail.com>
 | 
						|
 *
 | 
						|
 * SPDX-License-Identifier: BSD-2-Clause
 | 
						|
 */
 | 
						|
 | 
						|
#pragma once
 | 
						|
 | 
						|
#include <AK/Forward.h>
 | 
						|
#include <AK/String.h>
 | 
						|
#include <LibGUI/Forward.h>
 | 
						|
#include <sys/types.h>
 | 
						|
 | 
						|
namespace GUI {
 | 
						|
 | 
						|
class CommonLocationsProvider {
 | 
						|
public:
 | 
						|
    struct CommonLocation {
 | 
						|
        String name;
 | 
						|
        String path;
 | 
						|
    };
 | 
						|
 | 
						|
    static void load_from_json(String const& json_path);
 | 
						|
    static Vector<CommonLocation> const& common_locations();
 | 
						|
};
 | 
						|
 | 
						|
}
 |