Home » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » More small gems
More small gems [message #18504] |
Sat, 04 October 2008 15:24 |
|
koldo
Messages: 3357 Registered: August 2008
|
Senior Veteran |
|
|
Dear all
Here I enclose you more functions that I have prepared taking code from Upp itself, but that are not declared. There is also something from myself:
String GetComputerName()
- Returns computer name
String GetUserName()
- Returns user name
String GetEnvironmentVariable(const char *str)
- Return the environment variable
String GetDesktopManager()
- Returns Windows, Gnome, Kde or Unknown
Sorry: I have only tested GetDesktopManager() in Ubuntu and Windows. Please check it in other desktop like Kde.
Best regards
Koldo
-
Attachment: Funs.cpp
(Size: 1.19KB, Downloaded 409 times)
Best regards
IƱaki
[Updated on: Sun, 05 October 2008 09:33] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Thu Apr 25 11:13:40 CEST 2024
Total time taken to generate the page: 0.03267 seconds
|