]> git.lyx.org Git - lyx.git/blobdiff - src/support/os.h
Don't disable apply button if one (or more) of vertical alignment, rotation,
[lyx.git] / src / support / os.h
index c87526bb892e845f1a71cc914a6282808bdae12e..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
@@ -46,12 +40,15 @@ enum file_access {
 /// Do some work just once.
 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();