diff options
author | Krzesimir Nowak <krnowak@openismus.com> | 2013-01-03 11:46:07 +0100 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2013-01-16 11:27:54 +0100 |
commit | 4364f661cdcfefd29e220a665fec0f1c8b214223 (patch) | |
tree | b01453c9e2a5da5a3aa1cb505cea2620daaa7dd6 | |
parent | d69212fa026eacdc8f671408fe554c5b45d7e290 (diff) | |
download | gupnp-dlna-4364f661cdcfefd29e220a665fec0f1c8b214223.tar.gz |
Remove profile backend functions.
Those were only for getting loader and guesser implementations, but
both of them were merged into base classes. The merges made profile
backend functions superfluous.
-rw-r--r-- | libgupnp-dlna/Makefile.am | 2 | ||||
-rw-r--r-- | libgupnp-dlna/gupnp-dlna-profile-backend.c | 31 | ||||
-rw-r--r-- | libgupnp-dlna/gupnp-dlna-profile-backend.h | 37 | ||||
-rw-r--r-- | libgupnp-dlna/gupnp-dlna-profile-guesser.c | 1 | ||||
-rw-r--r-- | libgupnp-dlna/profile-backends/native/gupnp-dlna-native-profile-backend.c | 30 | ||||
-rw-r--r-- | libgupnp-dlna/profile-backends/native/gupnp-dlna-native-profile-backend.h | 38 | ||||
-rw-r--r-- | libgupnp-dlna/profile-backends/native/native.am | 2 |
7 files changed, 0 insertions, 141 deletions
diff --git a/libgupnp-dlna/Makefile.am b/libgupnp-dlna/Makefile.am index cb5971d..d2347fe 100644 --- a/libgupnp-dlna/Makefile.am +++ b/libgupnp-dlna/Makefile.am @@ -116,7 +116,6 @@ libgupnp_dlna_2_0_la_SOURCES = \ gupnp-dlna-information.c \ gupnp-dlna-video-information.c \ gupnp-dlna-field-value.c \ - gupnp-dlna-profile-backend.c \ gupnp-dlna-profile.c \ gupnp-dlna-restriction.c \ gupnp-dlna-value-list.c \ @@ -154,7 +153,6 @@ libgupnp_dlna_metadata_inc_HEADERS = \ dist_noinst_HEADERS += \ gupnp-dlna-field-value.h \ gupnp-dlna-metadata-backend.h \ - gupnp-dlna-profile-backend.h \ gupnp-dlna-profile-loader.h \ gupnp-dlna-profile-guesser-impl.h \ gupnp-dlna-restriction-private.h \ diff --git a/libgupnp-dlna/gupnp-dlna-profile-backend.c b/libgupnp-dlna/gupnp-dlna-profile-backend.c deleted file mode 100644 index 7304351..0000000 --- a/libgupnp-dlna/gupnp-dlna-profile-backend.c +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (C) 2012, 2013 Intel Corporation. - * - * Authors: Krzesimir Nowak <krnowak@openismus.com> - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - */ - -#include "gupnp-dlna-profile-backend.h" -#include "gupnp-dlna-native-profile-backend.h" - -GUPnPDLNAProfileLoader * -gupnp_dlna_profile_backend_get_loader (gboolean relaxed_mode, - gboolean extended_mode) -{ - return gupnp_dlna_native_profile_backend_get_loader (relaxed_mode, - extended_mode); -} diff --git a/libgupnp-dlna/gupnp-dlna-profile-backend.h b/libgupnp-dlna/gupnp-dlna-profile-backend.h deleted file mode 100644 index d7d6009..0000000 --- a/libgupnp-dlna/gupnp-dlna-profile-backend.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2012, 2013 Intel Corporation. - * - * Authors: Krzesimir Nowak <krnowak@openismus.com> - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - */ - -#ifndef __GUPNP_DLNA_PROFILE_BACKEND_H__ -#define __GUPNP_DLNA_PROFILE_BACKEND_H__ - -#include <glib.h> -#include "gupnp-dlna-profile-loader.h" -#include "gupnp-dlna-profile-guesser-impl.h" - -G_BEGIN_DECLS - -GUPnPDLNAProfileLoader * -gupnp_dlna_profile_backend_get_loader (gboolean relaxed_mode, - gboolean extended_mode); - -G_END_DECLS - -#endif /* __GUPNP_DLNA_PROFILE_BACKEND_H__ */ diff --git a/libgupnp-dlna/gupnp-dlna-profile-guesser.c b/libgupnp-dlna/gupnp-dlna-profile-guesser.c index 7b9be36..b7738d5 100644 --- a/libgupnp-dlna/gupnp-dlna-profile-guesser.c +++ b/libgupnp-dlna/gupnp-dlna-profile-guesser.c @@ -24,7 +24,6 @@ #include "gupnp-dlna-profile-guesser.h" #include "gupnp-dlna-profile-guesser-impl.h" #include "gupnp-dlna-profile-loader.h" -#include "gupnp-dlna-profile-backend.h" #include "gupnp-dlna-metadata-extractor.h" #include "gupnp-dlna-metadata-backend.h" diff --git a/libgupnp-dlna/profile-backends/native/gupnp-dlna-native-profile-backend.c b/libgupnp-dlna/profile-backends/native/gupnp-dlna-native-profile-backend.c deleted file mode 100644 index 67102d5..0000000 --- a/libgupnp-dlna/profile-backends/native/gupnp-dlna-native-profile-backend.c +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (C) 2012, 2013 Intel Corporation. - * - * Authors: Krzesimir Nowak <krnowak@openismus.com> - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - */ - -#include "gupnp-dlna-native-profile-loader.h" -#include "gupnp-dlna-native-profile-backend.h" - -GUPnPDLNAProfileLoader * -gupnp_dlna_native_profile_backend_get_loader (gboolean relaxed_mode, - gboolean extended_mode) -{ - return NULL; -} diff --git a/libgupnp-dlna/profile-backends/native/gupnp-dlna-native-profile-backend.h b/libgupnp-dlna/profile-backends/native/gupnp-dlna-native-profile-backend.h deleted file mode 100644 index 4f9ebec..0000000 --- a/libgupnp-dlna/profile-backends/native/gupnp-dlna-native-profile-backend.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2012, 2013 Intel Corporation. - * - * Authors: Krzesimir Nowak <krnowak@openismus.com> - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - */ - -#ifndef __GUPNP_DLNA_NATIVE_PROFILE_BACKEND_H__ -#define __GUPNP_DLNA_NATIVE_PROFILE_BACKEND_H__ - -#include "gupnp-dlna-profile-loader.h" - -G_BEGIN_DECLS - -void -gupnp_dlna_native_profile_backend_init (void); - -GUPnPDLNAProfileLoader * -gupnp_dlna_native_profile_backend_get_loader (gboolean relaxed_mode, - gboolean extended_mode); - -G_END_DECLS - -#endif /* __GUPNP_DLNA_NATIVE_PROFILE_BACKEND_H__ */ diff --git a/libgupnp-dlna/profile-backends/native/native.am b/libgupnp-dlna/profile-backends/native/native.am index 2afaef3..41a14d9 100644 --- a/libgupnp-dlna/profile-backends/native/native.am +++ b/libgupnp-dlna/profile-backends/native/native.am @@ -16,8 +16,6 @@ gupnp_libadd += \ include $(top_srcdir)/libgupnp-dlna/profile-backends/native/sets/sets.am profile_backends_native_libnativeprofilebackend_la_SOURCES = \ - profile-backends/native/gupnp-dlna-native-profile-backend.c \ - profile-backends/native/gupnp-dlna-native-profile-backend.h \ profile-backends/native/gupnp-dlna-native-sets.h \ profile-backends/native/gupnp-dlna-native-utils.c \ profile-backends/native/gupnp-dlna-native-utils.h \ |