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.
15 * Name : signalserver.h
16 * Part of : Signal server
23 #ifndef SIGNALSERVER_H
24 #define SIGNALSERVER_H
29 #include "signalshutdown.h"
35 _LIT(KServerName,"SignalServer");
37 A version must be specified when creating a session with the server
39 const TUint KSignalServMajorVersionNumber=1;
40 const TUint KSignalServMinorVersionNumber=0;
41 const TUint KSignalServBuildVersionNumber=0;
44 class CSignalServer : public CServer2
47 virtual ~CSignalServer();
48 static CServer2* NewL();
51 void ServiceL(const RMessage2&);
54 CSignalServer(CActive::TPriority aPriority);
55 CSession2* NewSessionL(const TVersion&,const RMessage2&) const;
57 TInt CheckForCapability(const RMessage2&);
59 CSigShutDown *iShutDown;
65 static TBool MatchByPid(const TOeProcessHdl& aProc1, const TOeProcessHdl& aProc2)
67 if (aProc1.mPid == aProc2.mPid)
74 RArray<TOeProcessHdl> iProcessHdlList;
77 #endif // SIGNALSERVER_H