Main Page Cookbook/Overview ImageMeister the jcprops file Licensing Please Vote! Binary Installation & Configuration [ Win · Mac · Nix ] Changes Public API Source Code Main Page Java [ Common · Win · Mac · Nix ] Native Code [ Common · Win · Mac · Nix ] Manifest Native Code Overviews [ Common · Win · Mac · Nix · Strings ] Macros [ General · Native Macros ] Walkthroughs [ Java only · Java and native ] Building [ Win · Mac · Nix ] Distribution Issues

# SResFile

  Routines for working with resource forks.

[ Mac | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

## Quick Index

  DESCRIPTION

## Class Summary

class SResFile
{
public:

  static short openExistingResFile( const CFSpec *theSpec );
  static void closeResFile( long fileFD );
  static ErrCode getResourceSize( long fileFD, long resName, long resID, long *resSizeP );
  static ErrCode getResource( long fileFD, long resName, long resID, long bufLen, char *bufP );

protected:

}; // SResFile

Back to the top of SResFile

### DESCRIPTION

Routines for working with resource forks.

Back to the top of SResFile

### short openExistingResFile( const CFSpec *theSpec );

Open a resource fork.

    	static	short openExistingResFile( const CFSpec *theSpec );

Back to the top of SResFile

### void closeResFile( long fileFD );

Close a resource fork.

    	static	void closeResFile( long fileFD );

Back to the top of SResFile

### ErrCode getResourceSize( long fileFD, long resName, long resID, long *resSizeP );

Get the size of a resource.

    	static	ErrCode getResourceSize( long fileFD, long resName, long resID, long *resSizeP );

Back to the top of SResFile

### ErrCode getResource( long fileFD, long resName, long resID, long bufLen, char *bufP );

Get a resource into a buffer.

    	static	ErrCode getResource( long fileFD, long resName, long resID, long bufLen, char *bufP );

Back to the top of SResFile

## All Members

public:
  static short openExistingResFile( const CFSpec *theSpec );
  static void closeResFile( long fileFD );
  static ErrCode getResourceSize( long fileFD, long resName, long resID, long *resSizeP );
  static ErrCode getResource( long fileFD, long resName, long resID, long bufLen, char *bufP );
protected:

Back to the top of SResFile

## Ancestors

Class does not inherit from any other class.

Back to the top of SResFile

## Descendants

Class is not inherited by any others.

Back to the top of SResFile

Generated from source by the Cocoon utilities on Mon May 28 10:11:11 2001 .

Main Page · JConfig · ImageMeister · System Properties Repository · WordMeister · Free Samples · Java Freeware · Contact Us · FAQ · Links

Copyright (c) 1997,1998,1999,2000 Samizdat Productions. All Rights Reserved.
WarpMovie, TileMovie, JConfig, ImageMeister and MovieShredder are Trademarks of Samizdat Productions.