Adding Symbian OS Classes

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

The New Symbian C++ Class wizard appears showing the Select project page (Figure 1).

Figure 1 - Symbian C++ Class wizard window

2. Select the project to add the new class to, then click Next.

The Name and Location page appears (Figure 2).

Figure 2 - Name and Location page

3. Enter class name and header and source directory information, and optionally enable filenames to be lowercase, then click Next.

The Select a type of class page appears (Figure 3).

Figure 3 - Select a type of class page

4. Click a class template to use for the new class, then click Next.

The Other Settings page appears (Figure 4).

Figure 4 - Other Settings page

5. Enter Author and Copyright information, then click Finish.

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

- Adding Classes
- New C++ Classs Wizard