Author: akv
Date: 2009-12-28 20:42:24 +0100 (Mon, 28 Dec 2009)
New Revision: 2875
Modified:
branches/rawstudio-ng-color/librawstudio/rs-lens.c
branches/rawstudio-ng-color/librawstudio/rs-lens.h
Log:
Added rs_lens_set_lensfun_make() and rs_lens_set_lensfun_model().
Modified: branches/rawstudio-ng-color/librawstudio/rs-lens.c
===================================================================
--- branches/rawstudio-ng-color/librawstudio/rs-lens.c 2009-12-28 12:02:28 UTC
(rev 2874)
+++ branches/rawstudio-ng-color/librawstudio/rs-lens.c 2009-12-28 19:42:24 UTC
(rev 2875)
@@ -289,3 +289,19 @@
return lens->description;
}
+
+void
+rs_lens_set_lensfun_make(RSLens *lens, gchar *make)
+{
+ g_assert(RS_IS_LENS(lens));
+
+ lens->lensfun_make = make;
+}
+
+void
+rs_lens_set_lensfun_model(RSLens *lens, gchar *model)
+{
+ g_assert(RS_IS_LENS(lens));
+
+ lens->lensfun_model = model;
+}
Modified: branches/rawstudio-ng-color/librawstudio/rs-lens.h
===================================================================
--- branches/rawstudio-ng-color/librawstudio/rs-lens.h 2009-12-28 12:02:28 UTC
(rev 2874)
+++ branches/rawstudio-ng-color/librawstudio/rs-lens.h 2009-12-28 19:42:24 UTC
(rev 2875)
@@ -73,6 +73,9 @@
*/
const gchar *rs_lens_get_description(RSLens *lens);
+void rs_lens_set_lensfun_make(RSLens *lens, gchar *make);
+void rs_lens_set_lensfun_model(RSLens *lens, gchar *model);
+
G_END_DECLS
#endif /* RS_LENS_H */
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit