initial commit
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
#ifndef BROWSER_RESOLVER_H
|
||||
#define BROWSER_RESOLVER_H
|
||||
|
||||
#include "types.h"
|
||||
|
||||
typedef struct {
|
||||
wchar_t browser_id[64];
|
||||
wchar_t exe_path[MAX_PATH_LEN];
|
||||
} BrowserInfo;
|
||||
|
||||
typedef struct {
|
||||
BrowserInfo* items;
|
||||
size_t count;
|
||||
size_t capacity;
|
||||
} BrowserList;
|
||||
|
||||
BrowserList* browser_list_create(void);
|
||||
void browser_list_destroy(BrowserList* list);
|
||||
bool browser_list_add(BrowserList* list, const wchar_t* id, const wchar_t* path);
|
||||
|
||||
bool browser_resolve_path(const wchar_t* exe_name, wchar_t* out_path, size_t len);
|
||||
BrowserList* browser_find_all_installed(void);
|
||||
|
||||
#endif // BROWSER_RESOLVER_H
|
||||
Reference in New Issue
Block a user