omadrm/drmengine/utils/src/dbwatcher.cpp
changeset 84 b09186059647
parent 23 493788a4a8a4
equal deleted inserted replaced
82:a117e284a2c6 84:b09186059647
     1 /*
     1 /*
     2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    87     }
    87     }
    88 
    88 
    89 CDbWatcher* CDbWatcher::NewL( MWatcherObserver& aObserver )
    89 CDbWatcher* CDbWatcher::NewL( MWatcherObserver& aObserver )
    90     {
    90     {
    91     CDbWatcher* self = new( ELeave) CDbWatcher;
    91     CDbWatcher* self = new( ELeave) CDbWatcher;
       
    92     CleanupStack::PushL( self );
    92     self->ConstructL( aObserver );
    93     self->ConstructL( aObserver );
       
    94     CleanupStack::Pop( self );
    93     return self;
    95     return self;
    94     }
    96     }
    95 
    97 
    96 CDbWatcher::CDbWatcher()
    98 CDbWatcher::CDbWatcher()
    97     {
    99     {