-rw-r--r-- | libopie2/opiecore/oglobal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libopie2/opiecore/oglobal.h b/libopie2/opiecore/oglobal.h index 5b43f01..aeee75e 100644 --- a/libopie2/opiecore/oglobal.h +++ b/libopie2/opiecore/oglobal.h | |||
@@ -82,5 +82,15 @@ public: | |||
82 | */ | 82 | */ |
83 | //@{ | 83 | //@{ |
84 | /** the content of TEMP | ||
85 | * reads the environment variable TEMP and returns the content. | ||
86 | * if not set returns "/tmp" | ||
87 | * @return a string containing a dir without trailing slash! | ||
88 | */ | ||
84 | static QString tempDirPath(); | 89 | static QString tempDirPath(); |
90 | /** the content of HOME | ||
91 | * reads the environment variable HOME and returns the content. | ||
92 | * if not set returns "/" | ||
93 | * @return a string containing a dir without trailing slash! | ||
94 | */ | ||
85 | static QString homeDirPath(); | 95 | static QString homeDirPath(); |
86 | static QString tempFileName( const QString& ); | 96 | static QString tempFileName( const QString& ); |