~ubuntu-branches/ubuntu/trusty/glibmm2.4/trusty

« back to all changes in this revision

Viewing changes to gio/giomm/socketclient.cc

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2012-02-22 07:01:47 UTC
  • mfrom: (1.2.68)
  • Revision ID: package-import@ubuntu.com-20120222070147-mjn5l85oc48061da
Tags: 2.31.18-0ubuntu1
* New upstream release
* debian/watch: Look for unstable versions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
337
337
 
338
338
void SocketClient::set_family(SocketFamily family)
339
339
{
340
 
g_socket_client_set_family(gobj(), ((GSocketFamily)(family))); 
 
340
  g_socket_client_set_family(gobj(), ((GSocketFamily)(family))); 
341
341
}
342
342
 
343
343
SocketType SocketClient::get_socket_type() const
347
347
 
348
348
void SocketClient::set_socket_type(SocketType type)
349
349
{
350
 
g_socket_client_set_socket_type(gobj(), ((GSocketType)(type))); 
 
350
  g_socket_client_set_socket_type(gobj(), ((GSocketType)(type))); 
351
351
}
352
352
 
353
353
SocketProtocol SocketClient::get_protocol() const
357
357
 
358
358
void SocketClient::set_protocol(SocketProtocol protocol)
359
359
{
360
 
g_socket_client_set_protocol(gobj(), ((GSocketProtocol)(protocol))); 
 
360
  g_socket_client_set_protocol(gobj(), ((GSocketProtocol)(protocol))); 
361
361
}
362
362
 
363
363
Glib::RefPtr<SocketAddress> SocketClient::get_local_address()
372
372
 
373
373
void SocketClient::set_local_address(const Glib::RefPtr<SocketAddress>& address)
374
374
{
375
 
g_socket_client_set_local_address(gobj(), const_cast<GSocketAddress*>(Glib::unwrap(address))); 
 
375
  g_socket_client_set_local_address(gobj(), const_cast<GSocketAddress*>(Glib::unwrap(address))); 
376
376
}
377
377
 
378
378
Glib::RefPtr<SocketConnection> SocketClient::connect(const Glib::RefPtr<SocketConnectable>& connectable, const Glib::RefPtr<Cancellable>& cancellable)
470
470
 
471
471
void SocketClient::set_enable_proxy(bool enable)
472
472
{
473
 
g_socket_client_set_enable_proxy(gobj(), static_cast<int>(enable)); 
 
473
  g_socket_client_set_enable_proxy(gobj(), static_cast<int>(enable)); 
474
474
}
475
475
 
476
476
guint SocketClient::get_timeout() const
480
480
 
481
481
void SocketClient::set_timeout(guint enable)
482
482
{
483
 
g_socket_client_set_timeout(gobj(), enable); 
 
483
  g_socket_client_set_timeout(gobj(), enable); 
484
484
}
485
485
 
486
486
void SocketClient::add_application_proxy(const Glib::ustring& protocol)
487
487
{
488
 
g_socket_client_add_application_proxy(gobj(), protocol.c_str()); 
 
488
  g_socket_client_add_application_proxy(gobj(), protocol.c_str()); 
489
489
}
490
490
 
491
491