os/mm/mmlibs/mmfw/tsrc/mmfintegrationtest/SDevSound/SDSCapTestServer/src/captestinfoserver.h
First public contribution.
2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
21 @file captestinfoserver.h
23 #ifndef __CAPTESTINFOSERVER_H__
24 #define __CAPTESTINFOSERVER_H__
28 _LIT(KInfoServerName,"SDSCapTestInfoServer");
30 // Function codes (opcodes) used in message passing between client and server
31 enum TCapTestInfoRequest
33 ECapTestInfoThreadId = 1,
36 class CCapTestInfoServer : public CServer2
39 static CCapTestInfoServer* NewL();
40 CSession2* NewSessionL(const TVersion& aVersion,const RMessage2& aMessage) const;
41 ~CCapTestInfoServer();
47 TBool iSessionConnected;
50 class CCapTestInfoServerSession : public CSession2
53 static CCapTestInfoServerSession* NewL();
54 ~CCapTestInfoServerSession();
55 void ServiceL(const RMessage2 &aMessage);
58 CCapTestInfoServerSession();
59 void DoGetThreadIdL(const RMessage2 &aMessage);