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

The Symbian OS C++ Class Wizard window appears (Figure 1).

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

Figure 3 - Symbian OS C++ Class Wizard window's Templates page

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

The Other Settings page appears (Figure 4).

Figure 4 - Symbian OS C++ Class Wizard window's Other Settings page

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

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

- SDK Support

##### Related tasks

- Adding Classes
- New C++ Classs Wizard