Adding Symbian Classes

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

Adding a Symbian C++ Class to a Project

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

    Figure 1 - Symbian 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).

    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).

    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 SOSClassName is added to the project and appears in the src folder (Figure 5).

    Figure 5 -New class appears in Project Explorer list inside the project

Related tasks