Boost.UI
User Interface Boost library
Classes | Macros
Helpers

Classes

class  boost::ui::uistring
 Helper class to convert string between UI and application logic only. More...
 
class  boost::ui::uiostringstream
 Output string stream that collects data for UI. More...
 

Macros

#define BOOST_UI_USE_CHRONO
 Enables Boost.Chrono library.
 
#define BOOST_UI_USE_DATE_TIME
 Enables Boost.Date_Time library.
 
#define BOOST_UI_USE_FILESYSTEM
 Enables Boost.Filesystem library.
 
int boost::ui::entry (int(*ui_main)(int, char *[]), int argc, char *argv[])
 UI application entry. More...
 
int boost::ui::entry (int(*ui_main)(), int argc, char *argv[])
 UI application entry. More...
 

Detailed Description

Function Documentation

int boost::ui::entry ( int(*)(int, char *[])  ui_main,
int  argc,
char *  argv[] 
)

UI application entry.

Initializes and uninitializer UI library, catches exceptions

Parameters
ui_mainmain UI function
argccount of program arguments
argvarray of program arguments
Examples:
asio_chat_client.cpp, chrono.cpp, cpp11/beman.cpp, cpp11/bootstrap.cpp, cpp11/demo.cpp, cpp11/hello.cpp, cpp11/io2d.cpp, cpp11/minimal.cpp, cpp11/snippet.cpp, cpp11/stroustrup.cpp, date_time.cpp, demo.cpp, filesystem.cpp, font.cpp, geometry.cpp, hello.cpp, interprocess.cpp, lexical_cast.cpp, locale.cpp, native.cpp, random.cpp, regex.cpp, sort.cpp, spirit.cpp, stacktrace.cpp, thread.cpp, timer.cpp, and tokenizer.cpp.
int boost::ui::entry ( int(*)()  ui_main,
int  argc,
char *  argv[] 
)

UI application entry.

Initializes and uninitializer UI library, catches exceptions

Parameters
ui_mainmain UI function
argccount of program arguments
argvarray of program arguments