mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-01-13 15:08:03 -05:00
f52a2a6406
subrepo: subdir: "OTRGui" merged: "a6066a251" upstream: origin: "https://github.com/HarbourMasters/otrgui.git" branch: "master" commit: "a6066a251" git-subrepo: version: "0.4.1" origin: "???" commit: "???"
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;
|
|
}; |