dvrengine/CommonRecordingEngineClient/src/CCRAPIBase.cpp
branchRCL_3
changeset 23 13a33d82ad98
parent 0 822a42b6c3f1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dvrengine/CommonRecordingEngineClient/src/CCRAPIBase.cpp	Wed Sep 01 12:20:37 2010 +0100
@@ -0,0 +1,59 @@
+/*
+* Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "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:    Implementation of IptvRTP client's API*
+*/
+
+
+
+
+// INCLUDE FILES
+#include <ipvideo/CCRApiBase.h>
+#include "CCRServerHandleSingleton.h"
+
+// CONSTANTS
+// None.
+
+// ============================ MEMBER FUNCTIONS ===============================
+
+// -----------------------------------------------------------------------------
+// CCRApiBase::CCRApiBase
+// C++ default constructor can NOT contain any code, that might leave.
+// -----------------------------------------------------------------------------
+//
+CCRApiBase::CCRApiBase()
+    {
+    // None
+    }
+
+// -----------------------------------------------------------------------------
+// CCRApiBase::BaseConstructL
+// Symbian 2nd phase constructor can leave.
+// -----------------------------------------------------------------------------
+//
+void CCRApiBase::BaseConstructL()
+    {
+    iSingleton = CCRServerHandleSingleton::InstanceL();
+    }
+
+// -----------------------------------------------------------------------------
+// CCRApiBase::~CCRApiBase
+// Destructor.
+// -----------------------------------------------------------------------------
+//
+CCRApiBase::~CCRApiBase()
+    {
+    CCRServerHandleSingleton::Release();
+    }
+
+// End of File