mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-11 20:15:07 -05:00
20 lines
321 B
C
20 lines
321 B
C
|
#pragma once
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
#define NULLSTR "None"
|
||
|
|
||
|
enum class LaunchType {
|
||
|
FILE, FOLDER
|
||
|
};
|
||
|
|
||
|
struct ProcessResult {
|
||
|
int exitCode;
|
||
|
};
|
||
|
|
||
|
class FSBridge {
|
||
|
public:
|
||
|
virtual void InitBridge() = 0;
|
||
|
virtual ProcessResult LaunchProcess(std::string cmd) = 0;
|
||
|
virtual std::string LaunchFileExplorer(LaunchType type) = 0;
|
||
|
};
|