examples/Base/IPC/ClientServer/Complex/ComplexClient.h

00001 // Copyright (c) 2000-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 //
00015 
00016 
00017 #if !defined(__ComplexClient_H__)
00018 #define __ComplexClient_H__
00019 
00020 #include <e32base.h>
00021 
00032 class RCountSession : public RSessionBase
00033         {
00034 public:
00035         RCountSession();
00036         TInt Connect();
00037         TVersion Version() const;
00038         TInt ResourceCount();
00039         void Close();
00040 private:
00041     RThread iServerThread;      
00042         };
00043 
00044 
00051 class RCountSubSession : public RSubSessionBase
00052         {
00053 public:
00054         TInt Open(RCountSession& aServer);
00055         TInt SetFromString(const TDesC& aString);
00056         void Close();
00057         void Increase();
00058         void Decrease();
00059         void IncreaseBy(TInt anInt);
00060         void DecreaseBy(TInt anInt);
00061         void Reset();
00062         TInt CounterValue();
00063         };
00064 
00065 
00066 #endif
00067 

Generated by  doxygen 1.6.2