osxresourcebundle.h

来自「这是VCF框架的代码」· C头文件 代码 · 共 77 行

H
77
字号
//OSXResourceBundle.h#ifndef _VCF_OSXRESOURCEBUNDLE_H__#define _VCF_OSXRESOURCEBUNDLE_H__/*Copyright 2000-2004 The VCF Project.Please see License.txt in the top level directorywhere you installed the VCF.*/namespace VCF {	class OSXResourceBundle : public Object, public ResourceBundlePeer {	public:			OSXResourceBundle();				virtual ~OSXResourceBundle();				/**		*returns a resource string given a resource name		*/		virtual String getString( const String& resourceName );		/**		*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.		*/		virtual String getVFF( const String& resourceName );		/**		*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.		*/		virtual Resource* getResource( const String& resourceName );		virtual ProgramInfo* getProgramInfo();			static ProgramInfo* getProgramInfo( const String& fileName );					virtual OSHandleID getHandleID();	protected:		static ProgramInfo* getProgramInfo( CFBundleRef bundle );			virtual CFBundleRef getBundle();	};};#endif //_VCF_OSXRESOURCEBUNDLE_H__/**CVS Log info$Log$Revision 1.4  2005/07/09 23:15:04  ddiegomerging in changes from devmain-0-6-7 branch.Revision 1.3  2005/01/08 20:52:47  ddiegofixed some glitches in osx impl.Revision 1.2.2.1  2005/05/08 19:55:32  ddiegoosx updates, not yet functional.Revision 1.2  2004/12/01 04:31:41  ddiegomerged over devmain-0-6-6 code. Marcello did a kick ass jobof fixing a nasty bug (1074768VCF application slows down modal dialogs.)that he found. Many, many thanks for this Marcello.Revision 1.1.2.1  2004/10/10 21:18:22  ddiegoadded missing osx files*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?