// File autogenerated

#if !defined(ADAPTER1INTERFACE_H_INCLUDED)
#define ADAPTER1INTERFACE_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
{

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

    static void buildIntrospectionData(TQDomElement& interfaceElement);

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

protected:
    virtual bool StartDiscovery(TQT_DBusError& error) = 0;

    virtual bool SetDiscoveryFilter(const TQMap< TQString, TQT_DBusVariant >& properties, TQT_DBusError& error) = 0;

    virtual bool StopDiscovery(TQT_DBusError& error) = 0;

    virtual bool RemoveDevice(const TQT_DBusObjectPath& device, 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 callStartDiscovery(const TQT_DBusMessage& message);

    TQT_DBusMessage callSetDiscoveryFilter(const TQT_DBusMessage& message);

    TQT_DBusMessage callStopDiscovery(const TQT_DBusMessage& message);

    TQT_DBusMessage callRemoveDevice(const TQT_DBusMessage& message);

}; // class Adapter1Interface

}; // namespace bluez

}; // namespace org

#endif //ADAPTER1INTERFACE_H_INCLUDED

// End of File

