[Qt-interest] API for available system memory.

Ross Driedger ross at earz.ca
Fri Jan 15 18:38:17 CET 2010


On 15-Jan-10, at 4:13 AM, qt-interest-request at trolltech.com wrote:

> Message: 5
> Date: Fri, 15 Jan 2010 04:12:34 -0500
> From: Amit Tikekar <amit.tikekar at pb.com>
> Subject: [Qt-interest] API for available system memory.
> To: "qt-interest at trolltech.com" <qt-interest at trolltech.com>
> Message-ID:
> 	<C1C4295B1D61F3459DD695D8DB0399E5796F1C2856 at PBI-NAMSG-02.MGDPBI.global.pvt 
> >
> 	
> Content-Type: text/plain; charset="us-ascii"
>
> Hi:
>
> I'm developing an application and need to find out the available  
> memory before deciding on whether or not to continue with an  
> operation.  After browsing Qt documentation and the mailing list,  
> I've concluded that perhaps this support is not provided by Qt and  
> the same if necessary has to be pluggedin using system specific API  
> calls (e.g using Win32 calls on windows).

It seems that every app I write, there is something that I need that  
isn't covered in the framework.  I regularly have source files that  
contains the platform specific APIs  and include them into the  
appropriate projects: win32functions.cpp, macfunctions.cpp, etc.  The  
functions that call the APIs have the same names and signatures  
regardless of the platform, so the same code in the other files call  
the proper APIs.

Ross

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100115/31bb3a99/attachment.html 


More information about the Qt-interest-old mailing list