From 323df60ed92d66e985a36a12fb334a0cca9bd1ea Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Thu, 1 Mar 2012 11:27:46 +0100 Subject: libmm-common: `MMBearerIpConfig' won't be considered internal any more Renamed `MMCommonBearerIpConfig' to `MMBearerIpConfig', and removed the `MMBearerIpConfig' provided in libmm-glib. We'll just use the original one from libmm-common always. --- libmm-glib/mm-bearer-ip-config.c | 56 ---------------------------------------- 1 file changed, 56 deletions(-) delete mode 100644 libmm-glib/mm-bearer-ip-config.c (limited to 'libmm-glib/mm-bearer-ip-config.c') diff --git a/libmm-glib/mm-bearer-ip-config.c b/libmm-glib/mm-bearer-ip-config.c deleted file mode 100644 index b964e408..00000000 --- a/libmm-glib/mm-bearer-ip-config.c +++ /dev/null @@ -1,56 +0,0 @@ -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details: - * - * Copyright (C) 2012 Google, Inc. - */ - -#include "mm-bearer-ip-config.h" - -MMBearerIpMethod -mm_bearer_ip_config_get_method (MMBearerIpConfig *self) -{ - g_return_val_if_fail (MM_IS_BEARER_IP_CONFIG (self), MM_BEARER_IP_METHOD_UNKNOWN); - - return mm_common_bearer_ip_config_get_method (self); -} - -const gchar * -mm_bearer_ip_config_get_address (MMBearerIpConfig *self) -{ - g_return_val_if_fail (MM_IS_BEARER_IP_CONFIG (self), NULL); - - return mm_common_bearer_ip_config_get_address (self); -} - -guint -mm_bearer_ip_config_get_prefix (MMBearerIpConfig *self) -{ - g_return_val_if_fail (MM_IS_BEARER_IP_CONFIG (self), 0); - - return mm_common_bearer_ip_config_get_prefix (self); -} - -const gchar ** -mm_bearer_ip_config_get_dns (MMBearerIpConfig *self) -{ - g_return_val_if_fail (MM_IS_BEARER_IP_CONFIG (self), NULL); - - return mm_common_bearer_ip_config_get_dns (self); -} - -const gchar * -mm_bearer_ip_config_get_gateway (MMBearerIpConfig *self) -{ - g_return_val_if_fail (MM_IS_BEARER_IP_CONFIG (self), NULL); - - return mm_common_bearer_ip_config_get_gateway (self); -} -- cgit v1.2.3