Home » Developing U++ » UppHub » More new functions
Re: More new functions [message #18904 is a reply to message #18880] |
Fri, 31 October 2008 13:34   |
 |
mirek
Messages: 14257 Registered: November 2005
|
Ultimate Member |
|
|
koldo wrote on Thu, 30 October 2008 03:24 | Hello all
Sorry for the delay. Now I am waiting for luzr final feedback about the structure of these functions.
|
class SysFolders // Special folders
String GetDesktop();
String GetPrograms();
String GetAppData();
String GetMusic();
String GetPictures();
String GetVideo();
String GetPersonal();
String GetTemplates();
String GetDownload();
String GetRoot(); // New
String GetTemp(); // New
Possible new functions to change folders
I think these should be in App.h, as global functions appended with "Path" or "Folder".
class SysOS // OS info. Samples after //
String GetName(); // Windows Linux
I am not quite sure the merit of above.
String GetCode(); // 6.0 2.6.8-1.523
IMO we need something more comparable there. Maybe like puttint it into int64 as 4 16-bit fields or something like that? Or maybe just introduce "CompareVersion" function?
CompareVersion("2.4.5", "2.5.2") < 0
String GetSize(); // 64-bit 32-bit
What for?
class SysCPU //CPU info
String GetIdentifier();
String GetLevel();
String GetRevision();
String GetArchitecture;
String GetSpeed();
String GetNumber();
Possible new functions to get more details
Well, maybe... Anyway, I have a hard time imagining what are these good for beyond some fancy about box.
Still, not a bad idea to have it implemented.
class SysProcesses //Current processes info.
bool Update(); // Gets processes info
bool GetFirst(int processId, String pName);
vool GetNext(int processId, String pName);
Possible new functions to kill processes or change priority
Yes, class for this one... The question is whether this belongs to Core. Most apps will not need this. But perhaps yes still.
Mirek
|
|
|
 |
|
More new functions
By: koldo on Wed, 22 October 2008 23:25
|
 |
|
Re: More new functions
By: tojocky on Thu, 23 October 2008 07:35
|
 |
|
Re: More new functions
By: captainc on Fri, 24 October 2008 01:22
|
 |
|
Re: More new functions
By: koldo on Fri, 24 October 2008 08:11
|
 |
|
Re: More new functions
By: captainc on Fri, 24 October 2008 14:05
|
 |
|
Re: More new functions
By: mrjt on Fri, 24 October 2008 15:28
|
 |
|
Re: More new functions
By: koldo on Sun, 26 October 2008 01:19
|
 |
|
Re: More new functions
By: captainc on Sun, 26 October 2008 02:03
|
 |
|
Re: More new functions
By: koldo on Sun, 26 October 2008 10:19
|
 |
|
Re: More new functions
By: koldo on Thu, 30 October 2008 08:24
|
 |
|
Re: More new functions
By: mirek on Fri, 31 October 2008 13:34
|
 |
|
Re: More new functions
By: cocob on Fri, 31 October 2008 10:44
|
 |
|
Re: More new functions
By: koldo on Fri, 31 October 2008 13:25
|
 |
|
Re: More new functions
By: koldo on Fri, 31 October 2008 15:51
|
 |
|
Re: More new functions
|
 |
|
Re: More new functions
By: koldo on Thu, 13 November 2008 09:15
|
 |
|
Re: More new functions
By: koldo on Wed, 19 November 2008 08:09
|
 |
|
Re: More new functions
By: koldo on Wed, 19 November 2008 17:44
|
 |
|
Re: More new functions
By: tojocky on Thu, 20 November 2008 10:35
|
 |
|
Re: More new functions
By: koldo on Thu, 20 November 2008 14:18
|
 |
|
Re: More new functions
By: tojocky on Fri, 21 November 2008 07:40
|
 |
|
Re: More new functions
By: koldo on Fri, 21 November 2008 08:17
|
 |
|
Re: More new functions
By: tojocky on Fri, 21 November 2008 13:25
|
 |
|
Re: More new functions
By: koldo on Fri, 21 November 2008 16:13
|
 |
|
Re: More new functions
By: koldo on Fri, 21 November 2008 22:24
|
 |
|
Re: More new functions
By: tojocky on Sat, 22 November 2008 08:32
|
 |
|
Re: More new functions
By: koldo on Sat, 22 November 2008 23:24
|
 |
|
Re: More new functions
By: tojocky on Sun, 23 November 2008 07:58
|
 |
|
Re: More new functions
By: mirek on Sun, 23 November 2008 10:45
|
 |
|
Re: More new functions
By: koldo on Sun, 23 November 2008 16:20
|
 |
|
Re: More new functions
By: mirek on Sun, 23 November 2008 18:23
|
 |
|
Re: More new functions
By: koldo on Sun, 23 November 2008 20:08
|
 |
|
Re: More new functions
By: koldo on Mon, 24 November 2008 00:28
|
 |
|
Re: More new functions
By: koldo on Wed, 03 December 2008 09:30
|
 |
|
Re: More new functions
By: mirek on Mon, 15 December 2008 10:07
|
 |
|
Re: More new functions
By: koldo on Wed, 17 December 2008 08:33
|
 |
|
Re: More new functions
By: koldo on Sat, 17 January 2009 22:32
|
 |
|
Re: More new functions
|
 |
|
Re: More new functions
By: koldo on Sat, 25 December 2010 10:05
|
Goto Forum:
Current Time: Thu May 08 07:44:07 CEST 2025
Total time taken to generate the page: 0.01570 seconds
|