diff --git a/UnX/DLL_VERSION.H b/UnX/DLL_VERSION.H index 7251bed..40b9e1c 100644 --- a/UnX/DLL_VERSION.H +++ b/UnX/DLL_VERSION.H @@ -3,8 +3,8 @@ #define UNX_MAJOR 0 #define UNX_MINOR 8 -#define UNX_BUILD 2 -#define UNX_REV 1 +#define UNX_BUILD 3 +#define UNX_REV 0 diff --git a/UnX/UnX.def b/UnX/UnX.def index 56e05fc..8ee17f2 100644 --- a/UnX/UnX.def +++ b/UnX/UnX.def @@ -1,4 +1,4 @@ LIBRARY "UnX" EXPORTS - SKPlugIn_Init = SKPlugIn_Init @1 \ No newline at end of file + SKPlugIn_Init = SKPlugIn_Init @1 PRIVATE \ No newline at end of file diff --git a/UnX/ini.h b/UnX/ini.h index b31209e..fac464a 100644 --- a/UnX/ini.h +++ b/UnX/ini.h @@ -38,7 +38,11 @@ interface iSK_INISection : public IUnknown AddRef (); } - iSK_INISection (std::wstring section_name) { + iSK_INISection (const wchar_t* section_name) { + AddRef (); + } + + ~iSK_INISection (void) { Release (); } @@ -51,6 +55,7 @@ interface iSK_INISection : public IUnknown STDMETHOD_ (void, set_name) (const wchar_t* name) = 0; STDMETHOD_ (bool, contains_key) (const wchar_t* key) = 0; STDMETHOD_ (void, add_key_value)(const wchar_t* key, const wchar_t* value) = 0; + STDMETHOD_ (bool, remove_key) (const wchar_t* key) = 0; }; // {DD2B1E00-6C14-4659-8B45-FCEF1BC2C724} @@ -81,6 +86,11 @@ interface iSK_INI : public IUnknown STDMETHOD_ (_TSectionMap&, get_sections) (THIS) = 0; STDMETHOD_ (iSK_INISection&, get_section) (const wchar_t* section) = 0; STDMETHOD_ (bool, contains_section)(const wchar_t* section) = 0; + STDMETHOD_ (bool, remove_section) (const wchar_t* section) = 0; + + STDMETHOD_ (iSK_INISection&, get_section_f) ( THIS_ _In_z_ _Printf_format_string_ + wchar_t const* const _Format, + ... ) = 0; }; iSK_INI* diff --git a/version.ini b/version.ini index 908884d..465a3fd 100644 Binary files a/version.ini and b/version.ini differ