pimprotocols/pbap/server/pbapfolderroot.cpp
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #include "pbapfolderclient.h"
       
    17 #include "pbapappheader.h"
       
    18 #include "pbapfolderroot.h"
       
    19 
       
    20 #include "btaccesshostlog.h"
       
    21 
       
    22 // constants
       
    23 _LIT(KFolderRoot, "/");
       
    24 
       
    25 
       
    26 /*static*/ CFolderRoot* CFolderRoot::NewL(MVirtualFolderClient& aClient)
       
    27 	{
       
    28 	LOG_STATIC_FUNC
       
    29 	return new (ELeave) CFolderRoot(aClient);
       
    30 	}
       
    31 
       
    32 
       
    33 CFolderRoot::CFolderRoot(MVirtualFolderClient& aClient)
       
    34 : CFolderBase(aClient, KFolderRoot())
       
    35 	{
       
    36 	LOG_FUNC
       
    37 	}
       
    38 
       
    39 
       
    40 TInt CFolderRoot::Get(const TDesC& /*aObjectName*/, CPbapAppHeader* aGetData)
       
    41 	{
       
    42 	LOG_FUNC
       
    43 
       
    44 	// we need to take ownership of aGetData but don't require it
       
    45 	delete aGetData;
       
    46 
       
    47 	return KErrNotReady;
       
    48 	}
       
    49 
       
    50 void CFolderRoot::CancelGet()
       
    51 	{
       
    52 	LOG_FUNC
       
    53 	// do nothing
       
    54 	}
       
    55 
       
    56 void CFolderRoot::GetComplete()
       
    57 	{
       
    58 	LOG_FUNC
       
    59 	// do nothing
       
    60 	}
       
    61