// File autogenerated

#if !defined(DBUSBASENODE_H_INCLUDED)
#define DBUSBASENODE_H_INCLUDED

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

// forward declarations
class TQString;
class TQT_DBusConnection;


class DBusBaseNode : public TQT_DBusObjectBase
{
public:
    DBusBaseNode();

    virtual ~DBusBaseNode();

    bool registerObject(const TQT_DBusConnection& connection, const TQString& path);
    void addChildNode(const TQString& child);

    void unregisterObject();

protected:
    virtual TQT_DBusObjectBase* createInterface(const TQString& interfaceName) = 0;

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

private:
    class Private;
    Private* m_private;

private: // Hiding copy constructor and assignment operator
    DBusBaseNode(const DBusBaseNode&);
    DBusBaseNode& operator=(const DBusBaseNode&);
}; // class DBusBaseNode

#endif //DBUSBASENODE_H_INCLUDED

// End of File

