]> git.lyx.org Git - lyx.git/blobdiff - src/support/os.h
add generic helper class for calling functions in gui thread
[lyx.git] / src / support / os.h
index 56f923d4adf35a43489592f2e5fdd9755012d68b..38517d8bda33d830afe94b20f67c08820dfb5ca4 100644 (file)
@@ -27,12 +27,6 @@ enum shell_type {
        CMD_EXE
 };
 
-enum io_channel {
-       STDIN = 0,
-       STDOUT,
-       STDERR
-};
-
 enum path_case {
        CASE_UNCHANGED,
        CASE_ADJUSTED
@@ -49,12 +43,12 @@ void init(int argc, char * argv[]);
 /// Returns the i-th program argument in utf8 encoding.
 std::string utf8_argv(int i);
 
+/// Removes from the internal copy \p num program arguments starting from \p i.
+void remove_internal_args(int i, int num);
+
 /// Returns the name of the NULL device (/dev/null, null).
 std::string const & nulldev();
 
-/// Tells whether \p channel is connected to a terminal or not. 
-bool is_terminal(io_channel channel);
-
 /// Returns "/" on *nix, "C:/", etc on Windows.
 std::string current_root();