core/com.nokia.carbide.cpp.doc.user/html/reference/NewClassWizard.html
author fturovic <frank.turovich@nokia.com>
Mon, 21 Jun 2010 16:26:29 -0500
changeset 1510 90c95d26606c
parent 1376 120480c02651
child 2131 ff0156b93599
permissions -rw-r--r--
minor edits and updates to images

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head>
<title>New C++ Class Wizard</title>
<link rel="StyleSheet" href="../../book.css" type="text/css"/>
</head>
   <body>
   <div class="AuthoredContent">
    
 
  <a name="ref_newclass_wizard"></a>
   </div><div class="Head1">
<h2>New C++ Class Wizard</h2>
</div><div class="Bodytext">
	  
	 <p>
		The <strong>New C++ Class</strong> wizard allows a developer to add a new C++ class to
		existing or new header and source files. This wizard is supplied by the C/C++
		Development Toolkit (CDT), and is not customised for Symbian OS development.
		However, as it is not currently described in the C/C++ Development Toolkit User
		Guide, you may find this extra information about it useful.</p>
    <p>See <a href="../tasks/projects/prj_adding_symbian_class.htm">Adding a Symbian OS Class</a> for information on adding Symbian-based classes to a project. </p>
	 <p>
	 To invoke the wizard, click <strong>File &gt; New &gt; Class </strong>from the menu bar. The <strong>New C++ Class </strong> window appears. </p> 
    <div class="Figure">

		<p class="Image"><a name=""><img src="images/wiz_new_class.png" alt="" width="582" height="618"  border="0" /></a></p>
 
	 
</div>
	 <table width="700" cellpadding="2" cellspacing="0"
border="0">
	 <tr valign="top"><th width="30%" class="Cell">Name</th><th width="70%" class="Cell">Function</th></tr><tr valign="top"><td class="Cell">
			 <p>
				<b>Source Folder</b> 
			 </p></td><td class="Cell">
			 <p>
				Specifies the source folder where the header and source files are
				to be created. 
			 </p></td></tr><tr valign="top"><td class="Cell">
			 <p>
				<b>Namespace</b> 
			 </p></td><td class="Cell">
			 <p>
				Select the checkbox to specify whether you want to add the new
				class under a namespace or not. If yes, click Browse to select an existing
				namespace or type a new namespace. 
			 </p></td></tr><tr valign="top"><td class="Cell">
			 <p>
				<b>Class Name</b> 
			 </p></td><td class="Cell">
			 <p>
				Specifies the name of new C++ class. 
			 </p></td></tr><tr valign="top"><td class="Cell">
			 <p>
				<b>Base Classes</b> 
			 </p></td><td class="Cell">
			 <p>
				Lists all the base types from which the new C++ class is derived. 
			 </p></td></tr><tr valign="top"><td class="Cell">
			 <p>
				<b>Method Stubs</b> 
			 </p></td><td class="Cell">
			 <p>
				Specifies whether to generate stubs for constructor and destructors
				of the class. 
			 </p></td></tr><tr valign="top"><td class="Cell">
			 <p>
				<b>Use Default</b> 
			 </p></td><td class="Cell">
			 <p>
				Specifies whether the class declaration and definition are added to
				default header and source files or not. 
			 </p></td></tr><tr valign="top"><td class="Cell">
			 <p>
				<b>Header</b> 
			 </p></td><td class="Cell">
			 <p>
				Specifies the header file which contains the class declaration. 
			 </p></td></tr><tr valign="top"><td class="Cell">
			 <p>
				<b>Source</b> 
			 </p></td><td class="Cell">
			 <p>
				Specifies the source file which contains the class definition. 
			 </p></td></tr>
			 <tr valign="top">
			   <td class="Cell"><b>Use Default </b></td>
			   <td class="Cell">Disable to select different Header and Source files to use as the template for the new class. </td>
	   </tr>
	 </table>

	 </div>
	   <h5>Related tasks</h5>
	   <ul>
         <li><a href="../tasks/AddingClasses.html">Adding Classes</a></li>
         <li><a href="../tasks/projects/prj_adding_symbian_class.htm">Adding Symbian OS Classes </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>