Dependents:   zeus

Fork of ConfigFile by Shinichiro Nakamura

Files at this revision

API Documentation at this revision

Comitter:
cmkachur
Date:
Tue Jun 30 16:20:49 2015 +0000
Parent:
6:f6ceafabe9f8
Commit message:
Make the enum for file mode accessible from outside the ConfigFile class.

Changed in this revision

ConfigFile.h Show annotated file Show diff for this revision Revisions of this file
diff -r f6ceafabe9f8 -r a2265650b4c1 ConfigFile.h
--- a/ConfigFile.h	Wed Sep 15 13:49:15 2010 +0000
+++ b/ConfigFile.h	Tue Jun 30 16:20:49 2015 +0000
@@ -9,6 +9,13 @@
 #ifndef _CONFIG_FILE_H_
 #define _CONFIG_FILE_H_
 
+    typedef enum {
+        UNIX,
+        MAC,
+        DOS
+    } FileFormat;
+
+
 /**
  * Configuration File class.
  */
@@ -88,12 +95,13 @@
      */
     bool read(char *file);
 
+#if 0 
     typedef enum {
         UNIX,
         MAC,
         DOS
     } FileFormat;
-
+#endif
     /**
      * Write from the target file.
      *