All Classes Namespaces Functions Variables Enumerations Properties Pages
Public Types | Public Member Functions | Private Attributes | List of all members
Status Class Reference
+ Inheritance diagram for Status:

Public Types

enum  ErrorCode {
  OK = 0, SAFE, FAIL, CANCELED,
  FILE_NOT_FOUND, NOT_SUPPORTED, INVALID_ARGUMENT, NOT_IMPLEMENTED_YET,
  ERROR_FILE_CANNOT_OPEN, ERROR_INVALID_XML_FILE, ERROR_INVALID_PENCIL_FILE, ERROR_MINIZ_FAIL,
  ERROR_INVALID_LAYER_TYPE, ERROR_INVALID_FRAME_NUMBER, ERROR_LOAD_IMAGE_FAIL, ERROR_LOAD_SOUND_FILE,
  ERROR_FFMPEG_NOT_FOUND, ERROR_NEED_AT_LEAST_ONE_CAMERA_LAYER
}
 

Public Member Functions

 Status (const ErrorCode code)
 
 Status (const ErrorCode code, const QString &description)
 
 Status (const ErrorCode code, const DebugDetails &detailsList)
 
 Status (const ErrorCode code, const DebugDetails &detailsList, QString title, QString description)
 
ErrorCode code () const
 
bool ok () const
 
QString msg () const
 
QString title () const
 
QString description () const
 
DebugDetails details () const
 
void setTitle (QString title)
 
void setDescription (QString description)
 
void setDetails (DebugDetails dd)
 
bool operator== (ErrorCode code) const
 
bool operator!= (ErrorCode code) const
 

Private Attributes

ErrorCode mCode = OK
 
QString mTitle
 
QString mDescription
 
DebugDetails mDetails
 

Detailed Description

Definition at line 39 of file pencilerror.h.


The documentation for this class was generated from the following files: