core/com.nokia.carbide.cpp.doc.user/html/tasks/projects/prj_adding_symbian_class.htm
author fturovic <frank.turovich@nokia.com>
Thu, 20 May 2010 10:32:00 -0500
changeset 1376 120480c02651
parent 302 8ad872e05db4
child 1507 30441fd93226
permissions -rw-r--r--
BUG 10758 - copyright revised date to 2010

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
<title>Adding Symbian OS Classes</title>
<link rel="StyleSheet" href="../../../book.css" type="text/css"/>
</head>
<body bgcolor="#FFFFFF">
<h2>Adding Symbian OS Classes</h2>
<p>Use the <b>New Symbian OS C++ Class</b> wizard to add Symbian  templated classes to a project. </p>
<div class="step">
  <h4>Adding a Symbian OS C++ Class to a Project </h4>
  <ol class="figure">
    <li>Right-click the project name and select the New  &gt; Symbian OS C++ Class menu item.</li>
    <p>The  <b>New Symbian OS C++ Class</b> wizard appears showing the <b>Select project</b> page (Figure 1).</p>
    <p align="center"><img src="images/wiz_add_sos_class_03.png" width="388" height="404" /></p>
    <p class="figure">Figure 1 - Symbian OS C++ Class wizard window</p>
    <li>Select the project to add the new class to, then click Next.</li>
    <p>The <b>Name and Location</b> page appears (Figure 2). </p>
    <p align="center"><img src="images/wiz_add_sos_class_05.png" alt="location" width="531" height="319" /></p>
    <p class="figure">Figure 2 - Name and Location page</p>
    <li>Enter class name and header and source directory information, and optionally enable filenames to be lowercase, then click Next.</li>
    <p>The <b>Select a type of class</b> page appears (Figure 3). </p>
    <p align="center"><img src="images/wiz_add_sos_class_04.png" alt="template" width="388" height="404" /></p>
    <p class="figure">Figure 3 - <b>Select a type of class</b> page</p>
    <li>Click a class template to use for the new class, then click Next.</li>
    <p>The <b>Other Settings</b> page appears (Figure 4).</p>
    <p align="center"><img src="images/wiz_add_sos_class_06.png" width="419" height="420" /></p>
    <p class="figure">Figure 4 - Other Settings page</p>
    <li>Enter Author and Copyright information, then click Finish. </li>
    <p>The new defined Symbian-based class titled <span class="code">NewClass</span>, is added to the project and appears in the src folder (Figure 5). </p>
    <p align="center"><img src="images/wiz_add_sos_class_07.png" width="279" height="436" /></p>
    <p class="figure">Figure 5 -New class appears in C/C++ Projects list inside the project </p>
  </ol>
</div>
<h5>Related tasks</h5>
<ul>
  <li><a href="../AddingClasses.html">Adding Classes</a></li>
  <li><a href="../../reference/NewClassWizard.html">New C++ Classs Wizard</a></li>
</ul>
<div id="footer">Copyright &copy; 2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>

</body>
</html>