diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/circularbuffer_8h-source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/circularbuffer_8h-source.html Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,66 @@ + + +TB10.1 Example Applications: examples/Base/BufsAndStrings/circularbufferexample/circularbuffer.h Source File + + + + +

examples/Base/BufsAndStrings/circularbufferexample/circularbuffer.h

Go to the documentation of this file.
00001 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+00002 // All rights reserved.
+00003 // This component and the accompanying materials are made available
+00004 // under the terms of "Eclipse Public License v1.0"
+00005 // which accompanies this distribution, and is available
+00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
+00007 //
+00008 // Initial Contributors:
+00009 // Nokia Corporation - initial contribution.
+00010 //
+00011 // Contributors:
+00012 //
+00013 // Description:
+00014 // Contains CCircularBufferExample class.
+00015 //
+00016 
+00017 
+00018 
+00022 #ifndef __CIRCULARBUFFEREXAMPLE_H__
+00023 #define __CIRCULARBUFFEREXAMPLE_H__
+00024 
+00025 #include <e32cons.h>
+00026 
+00034 class CCircularBufferExample: public CBase
+00035         {
+00036 public:
+00037         static CCircularBufferExample* NewL();
+00038         ~CCircularBufferExample();
+00039         void CircularBufferOfIntsL();
+00040         void CircularBufferOfMyObjectsL();
+00041         void CircularBufferOfRClasssL();
+00042 
+00043 private:
+00044         CCircularBufferExample();
+00045         void ConstructL();
+00046 private:
+00048         CConsoleBase* iConsole;
+00049         };
+00050 
+00058 class TMyClass
+00059         {
+00060 public:
+00061         TMyClass();
+00062         TMyClass(const TDesC& aDes);
+00063         void SetBuf(const TDesC& aDes);
+00064         const TDesC& GetBuf();
+00065 private:
+00066         // Simple buffer to hold text
+00067         TBufC<16> iBuf;
+00068  };
+00069 
+00070 
+00071 
+00072 #endif //__CIRCULARBUFFEREXAMPLE_H__
+

Generated on Thu Jan 21 10:32:55 2010 for TB10.1 Example Applications by  + +doxygen 1.5.3
+ +