Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /ini.h [000000] .. [c03716] Maximize Restore

  Switch to side-by-side view

--- a
+++ b/ini.h
@@ -0,0 +1,34 @@
+// ini.h: interface for the Cini class.
+//
+//////////////////////////////////////////////////////////////////////
+
+#if !defined(AFX_INI_H__14AB31A7_EC8E_41A0_A456_EE34709F8C5F__INCLUDED_)
+#define AFX_INI_H__14AB31A7_EC8E_41A0_A456_EE34709F8C5F__INCLUDED_
+
+#if _MSC_VER > 1000
+#pragma once
+#endif // _MSC_VER > 1000
+
+class Cini:public CStringMapToCStringMapString
+{
+private:
+  int fhandle;
+  int startpoint;
+  int maxlen;
+
+public:
+	Cini();
+  ~Cini();
+
+  CStringList valid;
+
+  bool IsValid(CString what);
+  void AddValid(CString what);
+  void AddValid(CString *what, int cnt);
+  bool HasSection(CString what);
+  CString GetValue(CString section, CString key);
+  void RemoveAll();
+  int ReadIniFromFile(int fh, long ml);
+};
+
+#endif // !defined(AFX_INI_H__14AB31A7_EC8E_41A0_A456_EE34709F8C5F__INCLUDED_)