synfig-studio  1.0.3
Public Types | Public Member Functions | List of all members
synfigapp::UIInterface Class Reference

#include <uimanager.h>

Inheritance diagram for synfigapp::UIInterface:
synfigapp::ConfidentUIInterface synfigapp::ConsoleUIInterface synfigapp::DefaultUIInterface

Public Types

enum  Response { RESPONSE_CANCEL = -1, RESPONSE_NO = 0, RESPONSE_YES = 1, RESPONSE_OK = 2 }

Public Member Functions

virtual ~UIInterface ()
virtual Response confirmation (const std::string &message, const std::string &details, const std::string &confirm, const std::string &cancel, Response dflt=RESPONSE_OK)=0
virtual Response yes_no_cancel (const std::string &message, const std::string &details, const std::string &button1, const std::string &button2, const std::string &button3, Response dflt=RESPONSE_YES)=0

Member Enumeration Documentation

Enumerator:
RESPONSE_CANCEL 
RESPONSE_NO 
RESPONSE_YES 
RESPONSE_OK 

Constructor & Destructor Documentation

virtual synfigapp::UIInterface::~UIInterface ( )
inlinevirtual

Member Function Documentation

virtual Response synfigapp::UIInterface::confirmation ( const std::string &  message,
const std::string &  details,
const std::string &  confirm,
const std::string &  cancel,
Response  dflt = RESPONSE_OK 
)
pure virtual
virtual Response synfigapp::UIInterface::yes_no_cancel ( const std::string &  message,
const std::string &  details,
const std::string &  button1,
const std::string &  button2,
const std::string &  button3,
Response  dflt = RESPONSE_YES 
)
pure virtual

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