--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmserv/tms/inc/tmscallserver.h Tue Feb 02 01:08:46 2010 +0200
@@ -0,0 +1,67 @@
+/*
+ * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+ * All rights reserved.
+ * This component and the accompanying materials are made available
+ * under the terms of "Eclipse Public License v1.0"
+ * which accompanies this distribution, and is available
+ * at the URL "http://www.eclipse.org/legal/epl-v10.html".
+ *
+ * Initial Contributors:
+ * Nokia Corporation - initial contribution.
+ *
+ * Contributors:
+ *
+ * Description: Telephony Multimedia Service
+ *
+ */
+
+#ifndef TMSCALLSERVER_H
+#define TMSCALLSERVER_H
+
+// INCLUDES
+#include <e32base.h>
+
+namespace TMS {
+
+const TUint KTMSCallServerMajorVersionNumber = 8;
+const TUint KTMSCallServerMinorVersionNumber = 0;
+const TUint KTMSCallServerBuildVersionNumber = 1;
+
+// FORWARD DECLARATIONS
+class TMSCallServerStartParam;
+class TMSServer;
+class TMSCallDelayTimer;
+
+// -----------------------------------------------------------------------------
+// TMSCallServer class
+// -----------------------------------------------------------------------------
+class TMSCallServer : public CServer2
+ {
+public:
+ static TMSCallServer* NewL(TMSServer* aTMSServer);
+ ~TMSCallServer();
+
+ void AddSession();
+ void DropSession();
+
+ IMPORT_C static TInt StartThread(TAny* aParams);
+
+private:
+ TMSCallServer(TMSServer* aTMSServer);
+ void ConstructL();
+ CSession2* NewSessionL(const TVersion& aVersion,
+ const RMessage2& aMessage) const;
+
+ static void StartThreadL(TMSCallServerStartParam& aStart);
+
+private:
+ TMSServer* iTMSServer;
+ TMSCallDelayTimer* iDelayTimer;
+ TUint iSessionCount;
+ };
+
+} //namespace TMS
+
+#endif // TMSCALLSERVER_H
+
+// End of file