examples/after/example_classes.h
changeset 0 fe474e3b08fb
child 5 29cf076edbda
equal deleted inserted replaced
-1:000000000000 0:fe474e3b08fb
       
     1 // Copyright (c) 2010 Symbian Foundation Ltd.
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of the License "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Symbian Foundation - Initial contribution
       
    10 // 
       
    11 // Description:
       
    12 // Examples of things which GCC does not like in the Symbian codebase.
       
    13 
       
    14 // Various problems with classes
       
    15 
       
    16 class TClass1
       
    17 	{
       
    18 	public:
       
    19 	TClass1(int a, int b);
       
    20 	int Average();						// Removed classname
       
    21 	
       
    22 	private:
       
    23 	int iA;
       
    24 	int iB;
       
    25 	};