18 #ifndef _LIBGNOMEVFSMM_DNS_SD_H
19 #define _LIBGNOMEVFSMM_DNS_SD_H
24 #include <libgnomevfs/gnome-vfs-dns-sd.h>
56 typedef sigc::slot<void, BrowseHandle*, GnomeVFSDNSSDServiceStatus, const Service&>
BrowseSlot;
59 #ifdef GLIBMM_EXCEPTIONS_ENABLED
62 BrowseHandle*
browse(
const Glib::ustring& domain,
const Glib::ustring& type,
const BrowseSlot& slot, std::auto_ptr<Gnome::Vfs::exception>& error);
63 #endif //GLIBMM_EXCEPTIONS_ENABLED
65 #ifdef GLIBMM_EXCEPTIONS_ENABLED
69 #endif //GLIBMM_EXCEPTIONS_ENABLED
81 #ifdef GLIBMM_EXCEPTIONS_ENABLED
82 ResolveHandle*
resolve(
const Glib::ustring& name,
const Glib::ustring& type,
const Glib::ustring& domain,
85 ResolveHandle*
resolve(
const Glib::ustring& name,
const Glib::ustring& type,
const Glib::ustring& domain,
86 int timeout,
const ResolveSlot& slot, std::auto_ptr<Gnome::Vfs::exception>& error);
87 #endif //GLIBMM_EXCEPTIONS_ENABLED
89 #ifdef GLIBMM_EXCEPTIONS_ENABLED
93 #endif //GLIBMM_EXCEPTIONS_ENABLED
99 #ifdef GLIBMM_EXCEPTIONS_ENABLED
100 void browse_sync(
const Glib::ustring& domain,
const Glib::ustring& type,
int timeout_msec, std::list<Service>& services);
102 void browse_sync(
const Glib::ustring& domain,
const Glib::ustring& type,
int timeout_msec, std::list<Service>& services, std::auto_ptr<Gnome::Vfs::exception>& error);
103 #endif //GLIBMM_EXCEPTIONS_ENABLED
106 #ifdef GLIBMM_EXCEPTIONS_ENABLED
107 void resolve_sync(
const Glib::ustring& name,
const Glib::ustring& type,
const Glib::ustring& domain,
108 int timeout_msec, Glib::ustring& host,
int& port,
ServiceOptions& options);
110 void resolve_sync(
const Glib::ustring& name,
const Glib::ustring& type,
const Glib::ustring& domain,
111 int timeout_msec, Glib::ustring& host,
int& port,
ServiceOptions& options, std::auto_ptr<Gnome::Vfs::exception>& error);
112 #endif //GLIBMM_EXCEPTIONS_ENABLED
116 #ifdef GLIBMM_EXCEPTIONS_ENABLED
120 #endif //GLIBMM_EXCEPTIONS_ENABLED