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

VCF::OSXResourceBundle Class Reference

#include <OSXResourceBundle.h>

Inheritance diagram for VCF::OSXResourceBundle:

VCF::Object VCF::ResourceBundlePeer VCF::OSXGraphicsResourceBundle VCF::OSXAppResourceBundle List of all members.

Public Member Functions

 OSXResourceBundle ()
virtual ~OSXResourceBundle ()
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.

Static Public Member Functions

static ProgramInfogetProgramInfo (const String &fileName)

Protected Member Functions

virtual CFBundleRef getBundle ()

Static Protected Member Functions

static ProgramInfogetProgramInfo (CFBundleRef bundle)

Constructor & Destructor Documentation

VCF::OSXResourceBundle::OSXResourceBundle  ) 
 

virtual VCF::OSXResourceBundle::~OSXResourceBundle  )  [virtual]
 


Member Function Documentation

virtual CFBundleRef VCF::OSXResourceBundle::getBundle  )  [protected, virtual]
 

virtual OSHandleID VCF::OSXResourceBundle::getHandleID  )  [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.

static ProgramInfo* VCF::OSXResourceBundle::getProgramInfo CFBundleRef  bundle  )  [static, protected]
 

static ProgramInfo* VCF::OSXResourceBundle::getProgramInfo const String fileName  )  [static]
 

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

Implements VCF::ResourceBundlePeer.

virtual Resource* VCF::OSXResourceBundle::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::OSXResourceBundle::getString const String resourceName  )  [virtual]
 

returns a resource string given a resource name

Implements VCF::ResourceBundlePeer.

virtual String VCF::OSXResourceBundle::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.


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