diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/queue_8h_source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/queue_8h_source.html Tue Mar 30 16:16:55 2010 +0100 @@ -0,0 +1,58 @@ + + +
+ +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 the definition of the CQueue class. +00015 // +00016 +00017 +00018 +00022 #ifndef __QUEUE_H__ +00023 #define __QUEUE_H__ +00024 +00025 #include "globals.h" +00026 +00035 class CQueue : public CBase +00036 { +00037 public: +00038 void Insert(); +00039 void Remove(); +00040 TBool IsEmpty(); +00041 void ConstructL(); +00042 static CQueue* NewL(); +00043 void GetTokens(RArray<TInt>& aArray); +00044 ~CQueue(); +00045 private: +00046 CQueue(); +00047 private: +00051 RArray<TInt> iArray; +00055 RMutex iMutex; +00059 RCondVar iCondVar; +00060 }; +00061 +00062 #endif +