// File autogenerated

#if !defined(NETWORKSERVER1INTERFACE_H_INCLUDED)
#define NETWORKSERVER1INTERFACE_H_INCLUDED

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

// forward declarations
class TQDomElement;
class TQString;
class TQT_DBusError;

namespace org
{
namespace bluez
{

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

    static void buildIntrospectionData(TQDomElement& interfaceElement);

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

protected:
    virtual bool Register(const TQString& uuid, const TQString& bridge, TQT_DBusError& error) = 0;

    virtual bool Unregister(const TQString& uuid, 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 callRegister(const TQT_DBusMessage& message);

    TQT_DBusMessage callUnregister(const TQT_DBusMessage& message);

}; // class NetworkServer1Interface

}; // namespace bluez

}; // namespace org

#endif //NETWORKSERVER1INTERFACE_H_INCLUDED

// End of File

