One Flutter client for network-computer: drive a remote Linux/Mac desktop from Android, iPhone, iPad, or desktop over WebRTC.

0 downloads

Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/network-computer-flutter.git
HTTPS
https://gitstable.com/git/askrobots/network-computer-flutter.git
SSH
ssh://git@gitstable.com:2222/askrobots/network-computer-flutter.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

Dan Quellhorst No colour (compare) in ⋯: the desk's picture in grey on this device c74471a 1 month, 3 weeks ago History
utils.h · 672 bytes · 19 lines
1#ifndef RUNNER_UTILS_H_
2#define RUNNER_UTILS_H_
3
4#include <string>
5#include <vector>
6
7// Creates a console for the process, and redirects stdout and stderr to
8// it for both the runner and the Flutter library.
9void CreateAndAttachConsole();
10
11// Takes a null-terminated wchar_t* encoded in UTF-16 and returns a std::string
12// encoded in UTF-8. Returns an empty std::string on failure.
13std::string Utf8FromUtf16(const wchar_t* utf16_string);
14
15// Gets the command line arguments passed in as a std::vector<std::string>,
16// encoded in UTF-8. Returns an empty std::vector<std::string> on failure.
17std::vector<std::string> GetCommandLineArguments();
18
19#endif // RUNNER_UTILS_H_