// File autogenerated

#if !defined(PHONEBOOKACCESS1INTERFACE_H_INCLUDED)
#define PHONEBOOKACCESS1INTERFACE_H_INCLUDED

// TQt D-Bus includes
#include <tqdbuserror.h>
#include <tqdbusobject.h>

// forward declarations
class TQDomElement;
class TQString;
class TQStringList;
class TQT_DBusError;
class TQT_DBusObjectPath;
class TQT_DBusVariant;
template <typename K, typename V> class TQMap;

namespace org
{
namespace bluez
{
namespace obex
{

class PhonebookAccess1Interface : public TQT_DBusObjectBase
{
public:
    virtual ~PhonebookAccess1Interface() {}

    static void buildIntrospectionData(TQDomElement& interfaceElement);

    static const TQCString interface() { return TQCString("org.bluez.obex.PhonebookAccess1"); }

protected:
    virtual bool Select(const TQString& location, const TQString& phonebook, TQT_DBusError& error) = 0;

    virtual bool PullAll(TQT_DBusObjectPath& path, TQMap< TQString, TQT_DBusVariant >& properties, const TQString& targetfile, const TQStringList& filters, TQT_DBusError& error) = 0;

    virtual bool List(TQMap< TQString, TQString >& vcard, const TQStringList& filters, TQT_DBusError& error) = 0;

    virtual bool Pull(TQT_DBusObjectPath& transfer, TQMap< TQString, TQT_DBusVariant >& vcards, const TQString& vcard, const TQString& targetfile, const TQStringList& filters, TQT_DBusError& error) = 0;

protected: // implement sending replies
    virtual void handleMethodReply(const TQT_DBusMessage& reply) = 0;

protected: // usually no need to reimplement
    virtual bool handleMethodCall(const TQT_DBusMessage& message);

    TQT_DBusMessage callSelect(const TQT_DBusMessage& message);

    TQT_DBusMessage callPullAll(const TQT_DBusMessage& message);

    TQT_DBusMessage callList(const TQT_DBusMessage& message);

    TQT_DBusMessage callPull(const TQT_DBusMessage& message);

}; // class PhonebookAccess1Interface

}; // namespace obex

}; // namespace bluez

}; // namespace org

#endif //PHONEBOOKACCESS1INTERFACE_H_INCLUDED

// End of File

