[dali_2.3.42] Merge branch 'devel/master'
[platform/core/uifw/dali-adaptor.git] / dali / devel-api / adaptor-framework / file-stream.h
index 90a3a15..17636f2 100644 (file)
  */
 
 // EXTERNAL INCLUDES
-#include <stdio.h>
 #include <stdint.h>
+#include <stdio.h>
 
 #include <iostream>
-#include <string>
 #include <memory>
+#include <string>
 
 // INTERNAL INCLUDES
 #include <dali/public-api/common/dali-vector.h>
 
 namespace Dali
 {
-
 class DALI_ADAPTOR_API FileStream
 {
 public:
-
   /**
    * @brief File type formats
    * The default format is binary
    */
-  enum FileMode  ///< FileType format
+  enum FileMode ///< FileType format
   {
-    BINARY = 1 << 0,      ///< File stream will be opened as a binary
-    TEXT   = 1 << 1,      ///< File stream will be opened as text
-    READ   = 1 << 2,      ///< File stream will be opened for reading
-    WRITE  = 1 << 3,      ///< File stream will be opened for writing
-    APPEND = 1 << 4,      ///< File stream will be opened for appending
+    BINARY = 1 << 0, ///< File stream will be opened as a binary
+    TEXT   = 1 << 1, ///< File stream will be opened as text
+    READ   = 1 << 2, ///< File stream will be opened for reading
+    WRITE  = 1 << 3, ///< File stream will be opened for writing
+    APPEND = 1 << 4, ///< File stream will be opened for appending
   };
 
   /**
@@ -113,11 +111,10 @@ public:
   FILE* GetFile();
 
 private:
-
-  struct Impl;
+  class Impl;
   std::unique_ptr<Impl> mImpl;
 };
 
-} // Dali
+} // namespace Dali
 
 #endif // DALI_FILE_STREAM_H