Skip to content

Commit

Permalink
Corrections for Special K ABI Changes (INI Parser in 0.7.x)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaldaien committed Dec 26, 2016
1 parent 75f18a4 commit e0150ae
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
4 changes: 2 additions & 2 deletions UnX/DLL_VERSION.H
Original file line number Diff line number Diff line change
Expand Up @@ -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



Expand Down
2 changes: 1 addition & 1 deletion UnX/UnX.def
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
LIBRARY "UnX"

EXPORTS
SKPlugIn_Init = SKPlugIn_Init @1
SKPlugIn_Init = SKPlugIn_Init @1 PRIVATE
12 changes: 11 additions & 1 deletion UnX/ini.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();
}

Expand All @@ -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}
Expand Down Expand Up @@ -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*
Expand Down
Binary file modified version.ini
Binary file not shown.

0 comments on commit e0150ae

Please # to comment.