diff options
Diffstat (limited to 'src/include/xbssv.h')
-rwxr-xr-x | src/include/xbssv.h | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/src/include/xbssv.h b/src/include/xbssv.h index b9345fd..d050bcb 100755 --- a/src/include/xbssv.h +++ b/src/include/xbssv.h @@ -2,7 +2,7 @@ XBase64 Software Library -Copyright (c) 1997,2003,2014,2022 Gary A Kunkel +Copyright (c) 1997,2003,2014,2022,2023 Gary A Kunkel The xb64 software library is covered under the terms of the GPL Version 3, 2007 license. @@ -77,9 +77,11 @@ class XBDLLEXPORT xbSsv{ xbBool GetDefaultAutoCommit () const; void SetDefaultAutoCommit ( xbBool bDefaultAutoCommit ); - xbString& GetDefaultLogDirectory () const; - xbString& GetDefaultLogFileName () const; - void SetDefaultLogDirectory ( const xbString &sDefaultLogDirectory ); + void GetHomeDir ( xbString &sHomeDirOut ); + + xbString& GetLogDirectory () const; + xbString& GetLogFileName () const; + void SetLogDirectory ( const xbString &sLogDirectory ); xbBool GetMultiUser () const; void SetMultiUser ( xbBool bMultiUser ); @@ -87,7 +89,7 @@ class XBDLLEXPORT xbSsv{ #if defined (XB_NDX_SUPPORT) || defined (XB_MDX_SUPPORT) xbInt16 GetUniqueKeyOpt () const; xbInt16 SetUniqueKeyOpt ( xbInt16 iUniqueKeyOpt ); - #endif + #endif // (XB_NDX_SUPPORT) || defined (XB_MDX_SUPPORT) #ifdef XB_LOCKING_SUPPORT xbInt16 GetDefaultLockRetries () const; @@ -100,12 +102,18 @@ class XBDLLEXPORT xbSsv{ void SetDefaultAutoLock ( xbBool bAutoLock ); void EnableDefaultAutoLock (); void DisableDefaultAutoLock (); - #endif + #endif // XB_LOCKING_SUPPORT #ifdef XB_MDX_SUPPORT xbInt16 GetCreateMdxBlockSize() const; xbInt16 SetCreateMdxBlockSize( xbInt16 ulBlockSize ); - #endif + #endif // XB_MDX_SUPPORT + + #ifdef XB_BLOCKREAD_SUPPORT + xbUInt32 GetDefaultBlockReadSize() const; + void SetDefaultBlockReadSize( xbUInt32 ulDfltBlockReadSize ); + #endif // XB_BLOCKREAD_SUPPORT + protected: @@ -121,8 +129,8 @@ class XBDLLEXPORT xbSsv{ static xbString sDataDirectory; //Data file directory #ifdef XB_LOGGING_SUPPORT - static xbString sDefaultLogDirectory; //Default location to store log files - static xbString sDefaultLogFileName; //Default LogFileName + static xbString sLogDirectory; //Default location to store log files + static xbString sLogFileName; //Default LogFileName #endif static xbInt16 iDefaultFileVersion; // 3 = DBase 3 @@ -150,7 +158,6 @@ class XBDLLEXPORT xbSsv{ #endif - #if defined (XB_NDX_SUPPORT) || defined (XB_MDX_SUPPORT) static xbInt16 iUniqueKeyOpt; @@ -167,6 +174,10 @@ class XBDLLEXPORT xbSsv{ #endif // XB_MDX_SUPPORT +#ifdef XB_BLOCKREAD_SUPPORT + static xbUInt32 ulDefaultBlockReadSize; +#endif // XB_BLOCKREAD_SUPPORT + }; |