Adding Symbian OS Classes

Use the Symbian OS C++ Class wizard to add Symbian OS 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 Symbian OS C++ Class Wizard window appears (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 - Symbian OS C++ Class Wizard window's 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 Templates page appears (Figure 3).

    template

    Figure 3 - Symbian OS C++ Class Wizard window's Templates 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 - Symbian OS C++ Class Wizard window's 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 concepts
Related tasks