Main Page Cookbook/Overview ImageMeister the jcprops file Licensing Binary Installation & Configuration [ Win · Mac · Nix · OSX ] 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 · OSX ] Distribution Issues

# Mac Native Code Files

This is a description of the files in the 'files\mac' directory.

    mac:

        CFilePath.*
            Represents a file path.

        CFSpec.*
            Represents an FSSpec.

        CUtils.*
            Various utility routines.

        Debug.*
            Interface to the DebugWindow application, used by Debugger.cpp

        MiniBackground.*
            GWorld routines, used by SIconDrawer.cpp

        MyFindIconMacros.h
            Used with the Find_icon package.

        stubs:
            AppFinder.*
            AppUtils.*
            IConfig.*
            ResFile.*
                The .cpp files contain the implementations of the native methods,
                written using the native macros.
                In most cases, these routines verify arguments, translate the arguments
                from Java format, and then call through to a routine in one of the 'sfiles'
                (SAliases.cpp, etc.)
                Then, they translate the return values from the 'sfile' routine back
                into Java format.

                The .h files include the appropriate interface-specific header, depending on the native
                architecture.
                For instance, if DO_JNI is defined, 'AppFinder.h' just includes 'AppFinderCW.h';
                if DO_JRI is defined, 'AppFinder.h' just includes 'AppFinderMRJ.h'

        cw:      (CodeWarrior-specific files)
            AppFinderCW.h
            AppUtilsCW.h
            IConfigCW.h
            ResFileCW.h
                The javah-generated JNI headers, used in CodeWarrior builds.

            CWmain.cpp
                Contains the entry points for the shared library initialization and
                termination routines. Only used for CodeWarrior builds.

        mrj:      (MRJ-specific files)
            AppFinderMRJ.h
            AppUtilsMRJ.h
            IConfigMRJ.h
            ResFileMRJ.h
                The hand-made JRI headers, used in MRJ builds.

            MRJmain.cpp
                Contains the entry points for the shared library initialization and
                termination routines. Also, initializes JRI with the name and signature
                of each native method. Only used for MRJ builds.

            vtbls.h
                 Contains the name and signature of each native method in a series of
                arrays. Used by 'MRJMain.cpp'.

        sfiles:
            SAliases.*
                Create and resolve aliases.

            SAppFinder.*
                Searches for applications.

            SAppUtils.*
                Launching and other application-related routines.

            SFiles.*
                Routines for working with files.

            SFlags.*
                Returns flags for disk objects.

            SIconDrawer.*
                Copies icons to a pixel array.

            SIConfig.*
                An interface to Internet Config

            SIcons.*
                Returns the icons for files, volumes, and file types.

            SIterate.*
                Iterates the contents of volumes and folders.

            SMonitors.*
                Routines for working with video monitors.

            SProcesses.*
                Routines for working with processes.

            SResFile.*
                Routines for working with resource forks.

            SVolumes.*
                Routines for working with volumes.

            SWebBrowser.*
                Used to launch URLs.

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

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