// File autogenerated

#if !defined(EMAILINTERFACE_H_INCLUDED)
#define EMAILINTERFACE_H_INCLUDED

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

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

namespace org
{
namespace freedesktop
{
namespace impl
{
namespace portal
{

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

    static void buildIntrospectionData(TQDomElement& interfaceElement);

    static const TQCString interface() { return TQCString("org.freedesktop.impl.portal.Email"); }

protected:
    virtual bool ComposeEmail(const TQT_DBusObjectPath& handle, const TQString& app_id, const TQString& parent_window, const TQMap< TQString, TQT_DBusVariant >& options, TQ_UINT32& response, TQMap< TQString, TQT_DBusVariant >& results, 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 callComposeEmail(const TQT_DBusMessage& message);

}; // class EmailInterface

}; // namespace portal

}; // namespace impl

}; // namespace freedesktop

}; // namespace org

#endif //EMAILINTERFACE_H_INCLUDED

// End of File

