qtms/src/qtmsmodemsinkimpl.cpp
changeset 50 762d760dcfdf
parent 27 cbb1bfb7ebfb
--- a/qtms/src/qtmsmodemsinkimpl.cpp	Fri Jul 23 17:48:16 2010 -0500
+++ b/qtms/src/qtmsmodemsinkimpl.cpp	Fri Aug 06 17:13:32 2010 -0500
@@ -23,46 +23,43 @@
 using namespace TMS;
 
 QTMSModemSinkImpl::QTMSModemSinkImpl()
-    {
-    }
+{
+}
 
 QTMSModemSinkImpl::~QTMSModemSinkImpl()
-    {
-    }
+{
+}
 
-gint QTMSModemSinkImpl::Create(QTMSSink*& qsink,TMS::TMSSink*& tmssink)
-    {
+gint QTMSModemSinkImpl::Create(QTMSSink*& qsink, TMS::TMSSink*& tmssink)
+{
     gint ret(QTMS_RESULT_INSUFFICIENT_MEMORY);
     QTMSModemSinkImpl* self = new QTMSModemSinkImpl();
-    if (self)
-        {
+    if (self) {
         ret = self->PostConstruct();
-        if (ret != QTMS_RESULT_SUCCESS)
-            {
+        if (ret != QTMS_RESULT_SUCCESS) {
             delete self;
             self = NULL;
-            }
+        }
         self->iSink = tmssink;
-        }
+    }
     qsink = self;
     return ret;
-    }
+}
 
 gint QTMSModemSinkImpl::PostConstruct()
-    {
+{
     gint ret(QTMS_RESULT_SUCCESS);
     return ret;
-    }
+}
 
 gint QTMSModemSinkImpl::GetSink(TMS::TMSSink*& tmssink)
-    {
+{
     gint ret(QTMS_RESULT_UNINITIALIZED_OBJECT);
-    if (iSink)
-        {
+    if (iSink) {
         tmssink = iSink;
         ret = QTMS_RESULT_SUCCESS;
-        }
+    }
     return ret;
-    }
+}
 
 // End of file