diff options
Diffstat (limited to 'medialist/src/ivug-mediadata.h')
-rwxr-xr-x | medialist/src/ivug-mediadata.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/medialist/src/ivug-mediadata.h b/medialist/src/ivug-mediadata.h new file mode 100755 index 0000000..f1f7b61 --- /dev/null +++ b/medialist/src/ivug-mediadata.h @@ -0,0 +1,52 @@ +/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ +#ifndef __IVUG_MEDIADATA_H__ +#define __IVUG_MEDIADATA_H__ + +#include "ivug-media.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * Converting Media_Data from filepath + * @param filepath[in] + * +**/ +Media_Data *ivug_alloc_mediadata_from_filepath(const char* filepath); + +/** + * Converting WMitem to Media_Data + * @param item[in] + * +**/ + +Media_Data *ivug_alloc_mediadata_from_media_handle(media_handle media); + +/** + * Free memory used by Media_Data + * @param mdata[in] + * +**/ +void ivug_free_mediadata(Media_Data* mdata); + +#ifdef __cplusplus +} +#endif + +#endif // __IVUG_MEDIADATA_H__ |