Adding Symbian OS Classes

Use the New Symbian OS C++ Class wizard to add Symbian templated classes to a project.

Adding a Symbian OS C++ Class to a Project

  1. Right-click the project name and select the New > Symbian OS C++ Class menu item.
  2. The New Symbian OS C++ Class wizard appears showing the Select project page (Figure 1).

    Figure 1 - Symbian OS C++ Class wizard window

  3. Select the project to add the new class to, then click Next.
  4. The Name and Location page appears (Figure 2).

    location

    Figure 2 - Name and Location page

  5. Enter class name and header and source directory information, and optionally enable filenames to be lowercase, then click Next.
  6. The Select a type of class page appears (Figure 3).

    template

    Figure 3 - Select a type of class page

  7. Click a class template to use for the new class, then click Next.
  8. The Other Settings page appears (Figure 4).

    Figure 4 - Other Settings page

  9. Enter Author and Copyright information, then click Finish.
  10. The new defined Symbian-based class titled NewClass, is added to the project and appears in the src folder (Figure 5).

    Figure 5 -New class appears in C/C++ Projects list inside the project

Related tasks