First public contribution.
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
19 #include <caf/agent.h>
21 using namespace ContentAccess;
23 void TAgent::SetValue(const TDesC& aName, TUid aUid)
25 iName.Copy(aName.Left(KMaxAgentNameLength));
26 iImplementationUid = aUid;
29 EXPORT_C const TDesC& TAgent::Name() const
31 // return the name of the agent
35 TUid TAgent::ImplementationUid() const
37 // return the agent implementation Uid, only accessible
38 return iImplementationUid;