>
>
>         Hi,
> okay, that sounds correct. I'm not sure whether your mail is complete,
> it seems to be cut for some reason.
>
> Having there a way to know whether password is needed is required, no
> doubt. I would not drop the current call-flow though, as many library
> users rely on it.
>

Hi,

To me it seems that you got whole email.

Current call-flow can coexist with better approach and be used by default
of course. For example there can be function for password detection (but
not only filename based) and function to set password before loading. And
during load it will not throw when was password already set. Or there can
be function like SetPasswordCallback and during loading using some variant
of Load function it will call user supplied callback (instead of throw)
which should provide password. If password or callback was not set then
default behaviour would be to throw as now.



>         Bye,
>         zyx
>
>
>
> _______________________________________________
> Podofo-users mailing list
> Podofo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/podofo-users
>
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to