Little C++ help required
d.healey last edited by
I want to make a script wrapper for the
importPresetFromClipboardfunction which is in the
PresetHelpersstruct. How can I access this function from
ScriptExpansion.cpp? I tried
PresetHelpers::importPresetFromClipboardbut that of course fails.
ustk last edited by
@d-healey I think because struct isn't inside a header file it can't be included in the ScriptExpansion.cpp class
So maybe try moving the whole struct into PresetBrowser.h and include it in ScriptExpansion.cpp, but it might be a bit more subtle...
Also have you tried
struct PresetHelpers PresetHelpers::importPresetFromClipboard
Since they are in the same namespace? But I bet you I'm saying non-sense