Fix : Remove exception handling codes at the sample code
[platform/framework/native/content.git] / inc / FCntPlayList.h
index cbc4c27..65a5527 100644 (file)
@@ -37,48 +37,38 @@ namespace Tizen { namespace Content
 class _PlayListImpl;
 
 /**
- *     @class          PlayList
- *     @brief          This class provides methods to access the playlist information.
+ * @class          PlayList
+ * @brief          This class provides methods to access the playlist information.
  *
- *     @since          2.0
+ * @since          2.0
  *
- *     @final          This class is not intended for extension.
+ * @final          This class is not intended for extension.
  *
- *     The %PlayList class provides methods to access the playlist information.
- *     The methods of this class help to immediately access the database and update it.
+ * The %PlayList class provides methods to access the playlist information.
+ * The methods of this class help to immediately access the database and update it.
  *
- *     The following example demonstrates how to use the %PlayList class.
+ * The following example demonstrates how to use the %PlayList class.
  *
- *     @code
- *     #include <FContent.h>
+ * @code
+ * #include <FBase.h>
+ * #include <FContent.h>
  *
- *     using namespace Tizen::Base;
- *     using namespace Tizen::Base::Collection;
- *     using namespace Tizen::Content;
+ * using namespace Tizen::Content;
  *
- *     void
- *     MyClass::Test(void)
- *     {
- *             // Get an instance of PlayList
- *             PlayList playList;
- *             result r = playList.Construct("my_playlist_1");
- *             if (IsFailed(r))
- *             {
+ * void
+ * MyClass::Test(void)
+ * {
+ *             PlayList playList;
+ *             result r = playList.Construct("my_playlist_1");
  *
- *             }
+ *             Tizen::Base::Collection::IList* pList = playList.GetContentInfoListN();
+ *             r = GetLastResult();
  *
- *             IList* pList = playList.GetContentInfoListN();
- *             if (IsFailed(r))
- *             {
+ *             pList->RemoveAll(true);
+ *             delete pList;
+ * }
  *
- *             }
- *
- *             // Delete resource
- *             pList->RemoveAll(true);
- *             delete pList;
- *     }
- *
- *     @endcode
+ * @endcode
  *
  */
 class _OSP_EXPORT_ PlayList