Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::LinuxResourceBundle Class Reference

#include <LinuxResourceBundle.h>

Inheritance diagram for VCF::LinuxResourceBundle:

VCF::Object VCF::ResourceBundlePeer VCF::XCBGraphicsResourceBundlePeer VCF::XCBApplicationResourceBundlePeer List of all members.

Public Member Functions

 LinuxResourceBundle ()
virtual ~LinuxResourceBundle ()
virtual String getString (const String &resourceName)
 returns a resource string given a resource name
virtual String getVFF (const String &resourceName)
 returns the text that represents an VFF file (where VFF stands for "Visual Form File" ).
virtual ResourcegetResource (const String &resourceName)
 returns a Resource object given the resource's name.
virtual ProgramInfogetProgramInfo ()
virtual OSHandleID getHandleID ()
 Returns a native handle (if available) for dealing with resources.

Protected Attributes

OSHandleID resourceHandle_

Constructor & Destructor Documentation

VCF::LinuxResourceBundle::LinuxResourceBundle  ) 
 

virtual VCF::LinuxResourceBundle::~LinuxResourceBundle  )  [virtual]
 


Member Function Documentation

virtual OSHandleID VCF::LinuxResourceBundle::getHandleID  )  [inline, virtual]
 

Returns a native handle (if available) for dealing with resources.

On Win32 this would be the HINSTANCE passed in through a WinMain() like function or a DLMain() function. On OSX this will be a CFBundle instance.

Implements VCF::ResourceBundlePeer.

virtual ProgramInfo* VCF::LinuxResourceBundle::getProgramInfo  )  [virtual]
 

Implements VCF::ResourceBundlePeer.

virtual Resource* VCF::LinuxResourceBundle::getResource const String resourceName  )  [virtual]
 

returns a Resource object given the resource's name.

this function walks through all the app's resources, by type and then by name. The first match is the resource returned.

Implements VCF::ResourceBundlePeer.

virtual String VCF::LinuxResourceBundle::getString const String resourceName  )  [virtual]
 

returns a resource string given a resource name

Implements VCF::ResourceBundlePeer.

virtual String VCF::LinuxResourceBundle::getVFF const String resourceName  )  [virtual]
 

returns the text that represents an VFF file (where VFF stands for "Visual Form File" ).

This text is standard XML and contains the component hierarchy and properties for creating a frame.

Implements VCF::ResourceBundlePeer.


Member Data Documentation

OSHandleID VCF::LinuxResourceBundle::resourceHandle_ [protected]
 


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information