// File autogenerated

#if !defined(INTROSPECTABLEINTERFACE_H_INCLUDED)
#define INTROSPECTABLEINTERFACE_H_INCLUDED

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

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

namespace org
{
namespace freedesktop
{
namespace DBus
{

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

    static void buildIntrospectionData(TQDomElement& interfaceElement);

    static const TQCString interface() { return TQCString("org.freedesktop.DBus.Introspectable"); }

protected:
    virtual bool Introspect(TQString& xml, 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 callIntrospect(const TQT_DBusMessage& message);

}; // class IntrospectableInterface

}; // namespace DBus

}; // namespace freedesktop

}; // namespace org

#endif //INTROSPECTABLEINTERFACE_H_INCLUDED

// End of File

