[libdmapsharing] Remove dpap_record_to_blob and _new_from_blob (were left over from pre-DMAPRecord merge) Signed-off-



commit d1cc9273c1f97c0c432cf4ccf05761ffb157cfe9
Author: W. Michael Petullo <mike flyn org>
Date:   Wed Dec 8 15:43:01 2010 -0600

    Remove dpap_record_to_blob and _new_from_blob (were left over from pre-DMAPRecord merge)
    Signed-off-by: W. Michael Petullo <mike flyn org>

 TODO                         |    3 +++
 libdmapsharing/dpap-record.c |   12 ------------
 libdmapsharing/dpap-record.h |   18 ------------------
 3 files changed, 3 insertions(+), 30 deletions(-)
---
diff --git a/TODO b/TODO
index ca67a5a..d15dc2c 100644
--- a/TODO
+++ b/TODO
@@ -1,3 +1,6 @@
+service-added callback takes a void *, not nice with Vala see also
+dpapview.vala.
+
 Reduce memory needed to send entire listing to client:
 	get bdb dmapd backend working well
 	review changes
diff --git a/libdmapsharing/dpap-record.c b/libdmapsharing/dpap-record.c
index 58a1a0d..fe22d9a 100644
--- a/libdmapsharing/dpap-record.c
+++ b/libdmapsharing/dpap-record.c
@@ -165,15 +165,3 @@ dpap_record_read (DPAPRecord *record, GError **err)
 {
 	return DPAP_RECORD_GET_INTERFACE (record)->read (record, err);
 }
-
-GByteArray *
-dpap_record_to_blob (DPAPRecord *record)
-{
-	return DPAP_RECORD_GET_INTERFACE (record)->to_blob (record);
-}
-
-DPAPRecord *
-dpap_record_new_from_blob (DPAPRecord *record, GByteArray *blob)
-{
-	return DPAP_RECORD_GET_INTERFACE (record)->new_from_blob (record, blob);
-}
diff --git a/libdmapsharing/dpap-record.h b/libdmapsharing/dpap-record.h
index f1c7ddc..cea683b 100644
--- a/libdmapsharing/dpap-record.h
+++ b/libdmapsharing/dpap-record.h
@@ -70,8 +70,6 @@ struct _DPAPRecordInterface {
 	GTypeInterface parent;
 
 	GInputStream *  (*read)          (DPAPRecord *record, GError **err);
-	GByteArray   *  (*to_blob)       (DPAPRecord *record);
-	DPAPRecord   *  (*new_from_blob) (DPAPRecord *record, GByteArray *blob);
 };
 
 GType          dpap_record_get_type          (void);
@@ -86,22 +84,6 @@ GType          dpap_record_get_type          (void);
  */
 GInputStream  *dpap_record_read              (DPAPRecord *record, GError **err);
 
-/**
- * dpap_record_to_blob:
- * @record: a DPAPRecord.
- *
- * Returns: A serialized representation of the record.
- */
-GByteArray *dpap_record_to_blob (DPAPRecord *record);
-
-/**
- * dpap_record_new_from_blob:
- * @blob: a serialized DPAPRecord representation.
- *
- * Returns: A DPAPRecord.
- */
-DPAPRecord *dpap_record_new_from_blob (DPAPRecord *record, GByteArray *blob);
-
 #endif /* __DPAP_RECORD_H */
 
 G_END_DECLS



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]