core/com.nokia.carbide.cpp.doc.user/html/reference/NewClassWizard.html
author timkelly
Tue, 30 Jun 2009 10:50:18 -0500
changeset 323 d40e42540f1f
parent 0 fb279309251b
child 1225 a546534a48de
permissions -rw-r--r--
add documentation and hook up tray dialog for abld deps tracking query (bug 9227)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head>
<title>New Class Wizard in Reference</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 Class Wizard</h2>
</div><div class="Bodytext">
	  
	 <p>
		The New Class 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 File &gt; New &gt; Class from the menu bar. The New Class wizard appears. </p> 
	 <div class="Figure">

		<p class="Image"><a name=""><img src="../images/newclasswiz.gif" alt="" width="500" height="568"  border="0" /></a></p>
 
	 
</div>
	 <table cellpadding="2" cellspacing="0"
border="0">
	 <tr valign="top"><th width="145" class="Cell">Name</th><th width="639" 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; 2009 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>