core/com.nokia.carbide.cpp.doc.user/html/tasks/projects/prj_adding_symbian_class.htm
author stechong
Wed, 20 Oct 2010 11:19:31 -0500
changeset 2165 2a7b5eccb0bc
parent 2131 ff0156b93599
permissions -rw-r--r--
Keeping PlatSim internal only.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
302
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     2
<html>
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     3
<head>
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     4
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     5
<meta http-equiv="Content-Style-Type" content="text/css" />
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     6
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     7
<title>Adding Symbian OS Classes</title>
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     8
<link rel="StyleSheet" href="../../../book.css" type="text/css"/>
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     9
</head>
1791
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1518
diff changeset
    10
<body >
2131
ff0156b93599 moved inf, mmp, remote conn, and views to project folder
fturovic <frank.turovich@nokia.com>
parents: 1791
diff changeset
    11
<h2>Adding Symbian Classes</h2>
ff0156b93599 moved inf, mmp, remote conn, and views to project folder
fturovic <frank.turovich@nokia.com>
parents: 1791
diff changeset
    12
<p>Use the <b>New Symbian C++ Class</b> wizard to add Symbian  templated classes to a project. </p>
302
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    13
<div class="step">
2131
ff0156b93599 moved inf, mmp, remote conn, and views to project folder
fturovic <frank.turovich@nokia.com>
parents: 1791
diff changeset
    14
  <h4>Adding a Symbian C++ Class to a Project </h4>
302
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    15
  <ol class="figure">
2131
ff0156b93599 moved inf, mmp, remote conn, and views to project folder
fturovic <frank.turovich@nokia.com>
parents: 1791
diff changeset
    16
    <li>Right-click the project name and select the New  &gt; Symbian C++ Class menu item.</li>
ff0156b93599 moved inf, mmp, remote conn, and views to project folder
fturovic <frank.turovich@nokia.com>
parents: 1791
diff changeset
    17
    <p>The  <b>New Symbian C++ Class</b> wizard appears showing the <b>Select project</b> page (Figure 1).</p>
1518
32748ddc5cdb minor edits to support latest changes to build pages
fturovic <frank.turovich@nokia.com>
parents: 1507
diff changeset
    18
    <p align="center"><img src="images/wiz_new_sos_class_01.png" width="624" height="500" /></p>
2131
ff0156b93599 moved inf, mmp, remote conn, and views to project folder
fturovic <frank.turovich@nokia.com>
parents: 1791
diff changeset
    19
    <p class="figure">Figure 1 - Symbian C++ Class wizard window</p>
302
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    20
    <li>Select the project to add the new class to, then click Next.</li>
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    21
    <p>The <b>Name and Location</b> page appears (Figure 2). </p>
1518
32748ddc5cdb minor edits to support latest changes to build pages
fturovic <frank.turovich@nokia.com>
parents: 1507
diff changeset
    22
    <p align="center"><img src="images/wiz_new_sos_class_02.png" width="624" height="500"></p>
302
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    23
    <p class="figure">Figure 2 - Name and Location page</p>
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    24
    <li>Enter class name and header and source directory information, and optionally enable filenames to be lowercase, then click Next.</li>
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    25
    <p>The <b>Select a type of class</b> page appears (Figure 3). </p>
1518
32748ddc5cdb minor edits to support latest changes to build pages
fturovic <frank.turovich@nokia.com>
parents: 1507
diff changeset
    26
    <p align="center"><img src="images/wiz_new_sos_class_03.png" width="624" height="500"></p>
302
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    27
    <p class="figure">Figure 3 - <b>Select a type of class</b> page</p>
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    28
    <li>Click a class template to use for the new class, then click Next.</li>
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    29
    <p>The <b>Other Settings</b> page appears (Figure 4).</p>
1518
32748ddc5cdb minor edits to support latest changes to build pages
fturovic <frank.turovich@nokia.com>
parents: 1507
diff changeset
    30
    <p align="center"><img src="images/wiz_new_sos_class_04.png" width="624" height="500"></p>
302
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    31
    <p class="figure">Figure 4 - Other Settings page</p>
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    32
    <li>Enter Author and Copyright information, then click Finish. </li>
1518
32748ddc5cdb minor edits to support latest changes to build pages
fturovic <frank.turovich@nokia.com>
parents: 1507
diff changeset
    33
    <p>The new defined Symbian-based class titled <span class="code">SOSClassName</span> is added to the project and appears in the src folder (Figure 5). </p>
32748ddc5cdb minor edits to support latest changes to build pages
fturovic <frank.turovich@nokia.com>
parents: 1507
diff changeset
    34
    <p align="center"><img src="images/wiz_new_sos_class_05.png" width="281" height="390"></p>
1507
30441fd93226 minor edits and updates for 3.0 release
fturovic <frank.turovich@nokia.com>
parents: 1376
diff changeset
    35
    <p class="figure">Figure 5 -New class appears in Project Explorer list inside the project </p>
302
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    36
  </ol>
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    37
</div>
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    38
<h5>Related tasks</h5>
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    39
<ul>
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    40
  <li><a href="../AddingClasses.html">Adding Classes</a></li>
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    41
  <li><a href="../../reference/NewClassWizard.html">New C++ Classs Wizard</a></li>
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    42
</ul>
1376
120480c02651 BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents: 302
diff changeset
    43
<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>
302
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    44
8ad872e05db4 Merge SDK Support page with Working with SDKs and cleaned up broken links and references to deleted page
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    45
</body>
0
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    46
</html>