libyui  3.3.1
Notes.h
1 /*
2  Copyright (C) 2014 SUSE LLC
3  This library is free software; you can redistribute it and/or modify
4  it under the terms of the GNU Lesser General Public License as
5  published by the Free Software Foundation; either version 2.1 of the
6  License, or (at your option) version 3.0 of the License. This library
7  is distributed in the hope that it will be useful, but WITHOUT ANY
8  WARRANTY; without even the implied warranty of MERCHANTABILITY or
9  FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
10  License for more details. You should have received a copy of the GNU
11  Lesser General Public License along with this library; if not, write
12  to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
13  Floor, Boston, MA 02110-1301 USA
14 */
15 /**
16 @page notes1 Notes about Initialization
17 
18 @section Important entry points
19 
20 - YUI::widgetFactory()
21 - YUI::ui()
22 
23 @section What happens on initialization
24 
25 YUI::ui()
26 calls YUI::ensureUICreated()
27 calls YUILoader::loadUI
28 calls YUILoader::loadPlugin.
29 That instantiates YUIPlugin(string plugin_name) and
30 calls its YUIPlugin::locateSymbol "_Z8createUIb"
31  (mangled createUI(bool) )
32 to produce a YUI * (* createUIFunction_t)(bool withThreads)
33 which is called. Its result is discarded, but YUI::_ui gets initialized
34 by the YUI::YUI ctor called by the derived ctor.
35 
36 YUIPlugin calls dlopen, but dlclose is not called by default,
37 and actually proably never.
38 
39 @section Utility classes
40 
41 - YCommandLine
42 
43  */