diff -r 76d2cf7a585e -r 90fe74753f71 logsui/logsengine/logssymbianos/tsrc/stubs/qcontactmanager.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/logsui/logsengine/logssymbianos/tsrc/stubs/qcontactmanager.h Fri Sep 03 14:26:05 2010 +0300 @@ -0,0 +1,54 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "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: +* +*/ + + +#ifndef QCONTACTMANAGER_H +#define QCONTACTMANAGER_H + +#include + +#include +#include +#include + +#include "qcontact.h" +#include "qcontactid.h" +#include "qcontactsortorder.h" +#include "qcontactfetchhint.h" + +QTM_BEGIN_NAMESPACE + +class QContactFilter; +class QContactAction; + +class QContactManager +{ +public: + explicit QContactManager(const QString& managerName = QString(), const QMap& parameters = (QMap()), QObject* parent = 0); + ~QContactManager(); + + QList contactIds(const QList& sortOrders = QList()) const; + QList contactIds(const QContactFilter& filter, const QList& sortOrders = QList()) const; + + QList contacts(const QList& sortOrders = QList(), const QContactFetchHint& fetchHint = QContactFetchHint()) const; + QList contacts(const QContactFilter& filter, const QList& sortOrders = QList(), const QContactFetchHint& fetchHint = QContactFetchHint()) const; + QContact contact(const QContactLocalId& contactId, const QContactFetchHint& fetchHint = QContactFetchHint()) const; // retrieve a contact +}; + +QTM_END_NAMESPACE + +#endif