]> git.lyx.org Git - lyx.git/blobdiff - src/support/lyxlib.h
noncopyable + read ChangeLog
[lyx.git] / src / support / lyxlib.h
index 4c9d9a1b754d8c2292b1c86a8692cd05d496ec39..3933cf0b63475920cf1ba629fe86c05db2ec289c 100644 (file)
@@ -4,8 +4,8 @@
  * 
  *           LyX, The Document Processor
  *        
- *           Copyright (C) 1995 Matthias Ettrich
- *           Copyright (C) 1995-1999 The LyX Team.
+ *           Copyright 1995 Matthias Ettrich
+ *           Copyright 1995-2000 The LyX Team.
  *
  * ====================================================== */
 
@@ -25,16 +25,20 @@ namespace lyx {
        char * getcwd(char * buffer, size_t size);
        ///
        int chdir(char const * name);
-       /// generates an checksum
+       /// generates a checksum
        unsigned long sum(char const * file);
-       /// returns a date string
+       /// returns a date string (not used currently)
        char * date(); 
-       ///
+       /// returns the name of the user (not used currently)
        string getUserName();
        ///
-       int kill(int pid, int sig);
+       int kill(long int pid, int sig);
        ///
        void abort();
+       ///
+       int mkdir(char const * pathname, unsigned long int mode);
+       ///
+       int putenv(char const * str);
 }
 #else
 struct lyx {
@@ -42,16 +46,20 @@ struct lyx {
        static char * getcwd(char * buffer, size_t size);
        ///
        static int chdir(char const * name);
-       /// generates an checksum
+       /// generates a checksum
        static unsigned long sum(char const * file);
-       /// returns a date string
+       /// returns a date string (not used currently)
        static char * date(); 
-       ///
+       /// returns the name of the user (not used currently)
        static string getUserName();
        ///
-       static int kill(int pid, int sig);
+       static int kill(long int pid, int sig);
        ///
        static void abort();
+       ///
+       static int mkdir(char const * pathname, unsigned long int mode);
+       ///
+       static int putenv(char const * str);
 };
 #endif // CXX_WORKING_NAMESPACES
 #endif