diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/stack_8cpp_source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/stack_8cpp_source.html Tue Mar 30 16:16:55 2010 +0100 @@ -0,0 +1,50 @@ + + + + +TB9.2 Example Applications: examples/PIPS/opencproducerconsumerex/src/stack.cpp Source File + + + + + +

examples/PIPS/opencproducerconsumerex/src/stack.cpp

Go to the documentation of this file.
00001 
+00014 // INCLUDE FILES
+00015 #include "Stack.h"
+00016 
+00017 //Global Stack Object for maintaining all the produced items
+00018 Stack stack;
+00019 
+00020 /*****************************************************************************
+00021 *  CreateObserverThread
+00022 *  Function: Functions to Push Items on to Stack and Pop items from Stack
+00023 *  And also to delete Items
+00024 *******************************************************************************/
+00025 
+00026 extern "C" 
+00027 {
+00028 
+00029 void PushOntoStack( ProducedItem* aItem ) 
+00030 {
+00031         stack.Push(aItem);
+00032 }
+00033 
+00034 ProducedItem* PopFromStack() 
+00035 {
+00036         return stack.Pop();
+00037 }
+00038 
+00039 void FreeItem(ProducedItem* aItem) 
+00040 {
+00041         delete aItem;
+00042 }
+00043 
+00044 } //extern "C"
+00045 
+00046 //  End of File
+
+
Generated by  + +doxygen 1.6.2
+ +