home *** CD-ROM | disk | FTP | other *** search
- // TODO:
- // 1. Changes to the 'BNDL' resource:
- // a. Verify the application signature. If it is correct as
- // created elsewhere, leave it alone. If it needs to
- // match the document ID for this document, change it to
- // be $$VAL:MacType$$.
- // b. Add $$VAL:TemplateID$$ to the list for both the 'ICN#'
- // and 'FREF' parts of the 'BNDL' resource. The lists for
- // both these sections should match. They consist, in order,
- // of the IDs for the frame windows and views for your
- // application (see resource.h if they look like unadorned
- // numbers to see which is which). If you are removing a view
- // to make room for the one you just added, be sure to take it
- // out here. (Keep the sequence numbers before the IDs in order
- // as well.)
- // 2. Declaring this document:
- // a. You will need some code that looks something like this (minus
- // the '//' at the start):
- //
- //resource 'FREF' ($$VAL:TemplateID$$, purgeable) // my new document
- //{
- // '$$VAL:MacType$$', SEQ,
- // ""
- //};
- // where 'SEQ' is the same number you put in the 'BNDL' resource
- // when you added the new view and 'my new document' should be
- // replaced with something more meaningful for your application
- //
- // b. If you are changing the application signature, you will need
- // some code that looks pretty much like this (minus the '//'
- // at the start):
- //
- //type '$$VAL:MacType$$' as 'STR ';
- //
- //resource '$$VAL:MacType$$' (0, purgeable)
- //{
- // "My Application"
- //};
- //
- // where 'My Application' should be replaced with something
- // more meaningful for your application.
- //
- // 3. If you are changing the application's signature, you will also
- // need to change the Mac File Creator to match. (Build Settings
- // dialog, Link tab, code generation settings)
-