Contents Up Previous Next

Class Categories

PMF classes can be grouped into three major categories. For each of these, we note dependencies with respect to those classes in other categories:

  1. Extension classes independent of PMF - use only wxWindows classes.
  2. PMF core classes - use only those in 1).
  3. Extension classes which depend on PMF - use 1) and 2).
  4. Application's classes - use 1) and 2).

Here, categories are numbered in the order of increasing dependency to the previous category. There is a basic rule that classes from different categories are not mixed in one header file. The current tree has the following structure:

1) wx/wx.h      keybinder.h     fl.h    newsash.h
    |           |               |       |
    |           |               |       |
    ----------------\           |       |
                    |           |       |
2)                  pmcmn.h     |       |
                    |           |       |
                    |           |       |
                    --------------------/
                    |
3)                  pmgui.h
                    |
                    |
4)                  pm_sample.h and wkp_main.h
fl.h is not used yet, but shown as an example for 1) category.