Alle martedì 03 marzo 2009, Albert Astals Cid ha scritto:
> I think it would be a good idea exposing the error to the user so that
> okular can tell you if saving failed because opening the file failed or
> because we don't support writing encripted files.

What do you think about adding the following to BaseConverter:

enum ConversionError
{
  NoError = 0,
  OpenError,
  WriteError,
  DocumentIsEncryptedError
};

ConversionError error() const;
with a behaviour close to QFile's one, ie returning the error of the last 
conversion, or NoError if succeeded.

-- 
Pino Toscano

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to