Home » U++ Library support » FileSel&FileList, Path » FileSel: sort by file modification time
Re: FileSel: sort by file modification time [message #52157 is a reply to message #52156] |
Tue, 30 July 2019 12:48 |
Tom1
Messages: 1212 Registered: March 2007
|
Senior Contributor |
|
|
Hi,
On the second thought, instead of the above, could we simply have this added to FileSel.h:
#define FILELISTSORTVERSION 2
This way I could tell apart which version of file list sorting I'm dealing with. The rest can be handled in an inherited class allowing access to list.Columns too... This approach allows backward compatibility for my code with earlier Upp versions.
Best regards,
Tom
EDIT: Looking at the large picture, is there or could it be possible to have a builder injected "#define UPPSVNREVISION xxxxx" so I could refer to that in any piece of code? This would completely resolve the above and all similar compatibility issues where support for different Upp versions is required.
[Updated on: Tue, 30 July 2019 13:26] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Thu Apr 25 17:18:27 CEST 2024
Total time taken to generate the page: 0.02055 seconds
|