début de fonctions pour le file explorer

This commit is contained in:
2023-02-15 22:34:37 +01:00
parent 02014633a1
commit b048477c99
7 changed files with 161 additions and 12 deletions

18
Laika/file_explorer.h Normal file
View File

@@ -0,0 +1,18 @@
#pragma once
#include <Windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <direct.h>
#include <sys/stat.h>
#include "resolve_apis.h"
extern API Api;
int delete_file(char* path);
int delete_dir(char* path);
int get_object_info(char* path, struct stat* fileinfo);
char** get_file_list(const char* dirPath, int* numFiles);
void download_file();
void download_folder();
void upload_file();