X2 Standard  Version 1.24
basiciniutilinterface.h
1 #ifndef _BasicIniUtilInterface_H_
2 #define _BasicIniUtilInterface_H_
3 
4 #define BasicIniUtilInterface_Name "com.bisque.TheSkyX.Components.BasicIniUtilInterface/1.0"
5 
21 {
22 public:
23  virtual ~BasicIniUtilInterface(){};
24 
25 public:
26 
28  virtual int readInt(const char* szParentKey, const char* szChildKey, const int& nDefault)=0;
30  virtual int writeInt(const char* szParentKey, const char* szChildKey, const int& nValue)=0;
31 
33  virtual double readDouble(const char* szParentKey, const char* szChildKey, const double& dDefault)=0;
35  virtual int writeDouble(const char* szParentKey, const char* szChildKey, const double& dValue)=0;
36 
38  virtual void readString(const char* szParentKey, const char* szChildKey, const char* szDefault, char* szResult, int nMaxSizeOfResultIn)=0;
40  virtual int writeString(const char* szParentKey, const char* szChildKey, const char* szValue)=0;
41 
42 };
43 
44 #endif
45 //Linux wants a 'newline' at the end of every source file - don't delete the one after this line
BasicIniUtilInterface::writeString
virtual int writeString(const char *szParentKey, const char *szChildKey, const char *szValue)=0
BasicIniUtilInterface::writeDouble
virtual int writeDouble(const char *szParentKey, const char *szChildKey, const double &dValue)=0
BasicIniUtilInterface::readInt
virtual int readInt(const char *szParentKey, const char *szChildKey, const int &nDefault)=0
BasicIniUtilInterface::readDouble
virtual double readDouble(const char *szParentKey, const char *szChildKey, const double &dDefault)=0
BasicIniUtilInterface::writeInt
virtual int writeInt(const char *szParentKey, const char *szChildKey, const int &nValue)=0
BasicIniUtilInterface
The BasicIniUtilInterface is used to make properties persistent.
Definition: basiciniutilinterface.h:21
BasicIniUtilInterface::readString
virtual void readString(const char *szParentKey, const char *szChildKey, const char *szDefault, char *szResult, int nMaxSizeOfResultIn)=0
X2 Examples
(C) Software Bisque, Inc. All rights reserved.