Importing Header Files

Not only can you add new header files to Flare, but you can also import existing header files (e.g., files with .h or .hh extensions).

How to Import a Header File

  1. Do one of the following, depending on the part of the user interface you are using:
    • Ribbon Select Project > New > Advanced > Header File.

    • Right-Click In the Project Organizer, right-click on the Advanced folder and from the context menu select Add Header File.

    The Add File dialog opens.

  2. In the File Type field at the top, make sure Header File is selected.
  3. Select New from existing and click The browse ellipsis button opens to more options..
  4. Find and select the header file that you want to import.
  5. Click Open. The Source File field now contains the path to the file that you are importing. Also, the name of the file is displayed in the File Name field.
  6. If you want to give the header file a different name than that for the imported file, click in the File name field and replace the text.
  7. (Optional) If you want to apply condition tags to the file, expand the Attributes section at the bottom of the dialog. Next to the Condition Tags field, click The browse ellipsis button opens to more options. and select the conditions you want to apply. Click OK. See Applying Conditions to Content.
  8. (Optional) If you want to apply file tags, expand the Attributes section at the bottom of the dialog. Next to the File Tags field, click The browse ellipsis button opens to more options. and select the file tags you want to apply. Click OK. See Associating Tags With Files.
  9. Click Add. The header file is added.