Fixed problems with plugin suffix not being propagated to sudirectories
[pwlib.git] / pwlib.dxx
blob8da523f279ca48391fc86653b2eba9308622861e
1 /**@name Portable Windows Libaray
3         A multi-platform operating system and GUI abstraction system for
4         application development.
6 @memo   A Portable Text and GUI C/C++ Class Libarary.
7 @version        1.2.0
8 @author Equivalence Pty. Ltd.
9 */
11 //@{
13 /**@name Introduction
14 \begin{center}
15         {\Large{\bf Welcome to the wonderful world of PWLib}}
16 \end{center}
18 PWLib is a moderately large class library that has its genesis many years ago as
19 a method to product applications to run on both Microsoft Windows and Unix
20 X-Windows systems. It also was to have a Macintosh port as well but this never
21 eventuated.
23 Since then the system has grown to having quite good application to areas other
24 than mere Windows GUI portability. Classes for I/O portability, multi-threading
25 portability, aid in producing unix daemons and NT services portably and all
26 sorts of internet protocols were added over the years.
28 All this over and above basic "container" classes such as arrays, linear lists,
29 sorted lists (RB Tree) and dictionaries (hash tables) which were all created
30 before STL became the answer to all our prayers. Unfortunately, due to intertia
31 and the GNU C++ inadequate support of templates, this library will probably not
32 be ported to STL in the near future.
34 The library was used extensively for all our in-house products. Then we decided
35 to support the open H323 project by throwing in some of the code written for
36 one of our products. Thus, required PWLib so it got thrown into the open source
37 world as well.
39  \begin{center}
40         {\Large{\bf Enjoy!}}
41  \end{center}
44 /**@name        Using PWLib
45 Detailed tutorials will almost certainly not be forthcoming. However,
46 at least giving you an indication on how to start an application would
47 be usefull, so here is the infamous "Hello world!" program.
48 \begin{verbatim}
49 // hello.cxx
51 #include <ptlib.h>
53 class Hello : public PProcess
55   PCLASSINFO(Hello, PProcess)
56   public:
57         void Main();
60 PCREATE_PROCESS(Hello)
62 void Hello::Main()
64   cout << "Hello world!\n";
67 // End of hello.cxx
68 \end{verbatim}
70 The \Ref{CREATE_PROCESS} macro actually defines the #main()# function
71 and creates an instance of Hello. This assures that everything is
72 initialised in the correct order. C++ does initialisation of global
73 statics badly (and destruction is even worse), so try to put
74 everything into your PProcess descedent rather than globals.
76 A GUI application is very similar but is descended off
77 \Ref{PApplication} rather than \Ref{PProcess}, and would create a
78 window as a descendent off the \Ref{PMainWindow} class.
80 @memo   Brief examples.
83 /**@name        Console Mode Classes
84                 This as far as possible "normalises" different operating systems to
85                 a single API so the same application can be compiled without modification.
86    @memo        Classes that embody operating system abstractions.
87   */
88     //@{
89         /**@name Base Object Class
90            @memo The base class for all other clasess in the system, plus some
91                  additional low level support classes/functions eg memory management.
92           */
93             //@{
94                 //@Include: include/ptlib/object.h
95             //@}
96         /**@name Container Classes
97            @memo Classes that contain other objects.
98           */
99             //@{
100                 //@Include: include/ptlib/contain.h
101                 //@Include: include/ptlib/array.h
102                 //@Include: include/ptlib/lists.h
103                 //@Include: include/ptlib/dict.h
104                 //@Include: include/ptlib/pstring.h
105             //@}
106         /**@name I/O Channel Classes
107            @memo Classes that perform general I/O
108           */
109             //@{
110                 //@Include: include/ptlib/channel.h
111                 //@Include: include/ptlib/indchan.h
112                 //@Include: include/ptlib/conchan.h
113                 //@Include: include/ptlib/pipechan.h
114                 //@Include: include/ptlib/serchan.h
115                 //@Include: include/ptlib/file.h
116                 //@Include: include/ptlib/textfile.h
117                 //@Include: include/ptlib/sfile.h
118                 //@Include: include/ptlib/filepath.h
119                 //@Include: include/ptlib/pdirect.h
120                 //@Include: include/ptlib/vconvert.h
121             //@}
122         /**@name Socket Classes
123            @memo Classes that perform Berkely Sockets I/O
124           */
125             //@{
126                 //@Include: include/ptlib/socket.h
127                 //@Include: include/ptlib/ipsock.h
128                 //@Include: include/ptlib/ipdsock.h
129                 //@Include: include/ptlib/udpsock.h
130                 //@Include: include/ptlib/tcpsock.h
131                 //@Include: include/ptlib/icmpsock.h
132                 //@Include: include/ptlib/ipxsock.h
133                 //@Include: include/ptlib/spxsock.h
134                 //@Include: include/ptlib/ethsock.h
135             //@}
136         /**@name Process and Thread Classes
137            @memo Classes that handle processes, multi-threading and synchronsiation.
138           */
139             //@{
140                 //@Include: include/ptlib/pprocess.h
141                 //@Include: include/ptlib/svcproc.h
142                 //@Include: include/ptlib/thread.h
143                 //@Include: include/ptlib/semaphor.h
144                 //@Include: include/ptlib/mutex.h
145                 //@Include: include/ptlib/syncpoint.h
146                 //@Include: include/ptlib/syncthrd.h
147             //@}
148         /**@name Miscellaneous Classes
149           */
150             //@{
151                 //@Include: include/ptlib/args.h
152                 //@Include: include/ptlib/config.h
153                 //@Include: include/ptlib/ptime.h
154                 //@Include: include/ptlib/timeint.h
155                 //@Include: include/ptlib/timer.h
156                 //@Include: include/ptlib/dynalink.h
157                 //@Include: include/ptlib/sound.h
158                 //@Include: include/ptlib/video.h
159                 //@Include: include/ptlib/videoio.h
160                 //@Include: include/ptlib/remconn.h
161                 //@Include: include/ptlib/mail.h
162             //@}
163     //@}
165 /**@name        Console Mode Components
167                 These classes provide a large amount of higher level functionality
168                 that is built on the basic Console Classes which provides the
169                 Operating System abstractions.
171    @memo        Non-operating system specific classes that may be used as
172                 components in applications.
173   */
174     //@{
175         /**@name Internet Protocol Classes
176           */
177             //@{
178                 //@Include: include/ptclib/inetprot.h
179                 //@Include: include/ptclib/inetmail.h
180                 //@Include: include/ptclib/mime.h
181                 //@Include: include/ptclib/ftp.h
182                 //@Include: include/ptclib/telnet.h
183                 //@Include: include/ptclib/socks.h
184             //@}
185         /**@name HTTP Classes
186           */
187             //@{
188                 //@Include: include/ptclib/http.h
189                 //@Include: include/ptclib/url.h
190                 //@Include: include/ptclib/html.h
191                 //@Include: include/ptclib/httpform.h
192                 //@Include: include/ptclib/httpsvc.h
193             //@}
194         /**@name ASN.1 Support Classes
195           */
196             //@{
197                 //@Include: include/ptclib/asner.h
198             //@}
199         /**@name Miscellaneous Classes
200           */
201             //@{
202                 //@Include: include/ptclib/modem.h
203                 //@Include: include/ptclib/ipacl.h
204                 //@Include: include/ptclib/random.h
205                 //@Include: include/ptclib/cypher.h
206                 //@Include: include/ptclib/pssl.h
207                 //@Include: include/ptclib/pwavfile.h
208                 //@Include: include/ptclib/dtmf.h
209             //@}
210     //@}
212 /**@name        GUI Mode Classes
214                 These classes abstract Graphics User Interface elements for use
215                 by multiple platforms. Each element is implemented in the native
216                 manner for that platform eg X Windows/Motif.
218    @memo        Classes that embody windowing system abstractions.
219   */
220     //@{
221         /**@name Interactor Classes
222           */
223             //@{
224                 //@Include: include/pwlib/interact.h
225                 //@Include: include/pwlib/ilayout.h
226                 //@Include: include/pwlib/titlewnd.h
227                 //@Include: include/pwlib/toplwnd.h
228                 //@Include: include/pwlib/mdidoc.h
229                 //@Include: include/pwlib/mdiframe.h
230                 //@Include: include/pwlib/scrollab.h
231                 //@Include: include/pwlib/popup.h
232                 //@Include: include/pwlib/balloon.h
233             //@}
234         /**@name Menu Classes
235           */
236             //@{
237                 //@Include: include/pwlib/menuent.h
238                 //@Include: include/pwlib/rootmenu.h
239                 //@Include: include/pwlib/submenu.h
240                 //@Include: include/pwlib/menuitem.h
241                 //@Include: include/pwlib/menusep.h
242             //@}
243         /**@name Control Classes
244           */
245             //@{
246                 //@Include: include/pwlib/control.h
247                 //@Include: include/pwlib/ncontrol.h
248                 //@Include: include/pwlib/pbutton.h
249                 //@Include: include/pwlib/tbutton.h
250                 //@Include: include/pwlib/ibutton.h
251                 //@Include: include/pwlib/rbutton.h
252                 //@Include: include/pwlib/checkbox.h
253                 //@Include: include/pwlib/check3.h
254                 //@Include: include/pwlib/choicbox.h
255                 //@Include: include/pwlib/combobox.h
256                 //@Include: include/pwlib/listbox.h
257                 //@Include: include/pwlib/clistbox.h
258                 //@Include: include/pwlib/slistbox.h
259                 //@Include: include/pwlib/listview.h
260                 //@Include: include/pwlib/editbox.h
261                 //@Include: include/pwlib/meditbox.h
262                 //@Include: include/pwlib/pwedbox.h
263                 //@Include: include/pwlib/numedbox.h
264                 //@Include: include/pwlib/intedit.h
265                 //@Include: include/pwlib/realedit.h
266                 //@Include: include/pwlib/scrollb.h
267                 //@Include: include/pwlib/hscrollb.h
268                 //@Include: include/pwlib/vscrollb.h
269                 //@Include: include/pwlib/stattext.h
270                 //@Include: include/pwlib/staticon.h
271                 //@Include: include/pwlib/statrect.h
272                 //@Include: include/pwlib/statbox.h
273             //@}
274         /**@name Dialog Classes
275           */
276             //@{
277                 //@Include: include/pwlib/dialog.h
278                 //@Include: include/pwlib/modaldlg.h
279                 //@Include: include/pwlib/floatdlg.h
280                 //@Include: include/pwlib/simpdlg.h
281                 //@Include: include/pwlib/opendlg.h
282                 //@Include: include/pwlib/filedlg.h
283                 //@Include: include/pwlib/savedlg.h
284                 //@Include: include/pwlib/dirdlg.h
285                 //@Include: include/pwlib/fontdlg.h
286                 //@Include: include/pwlib/pclrdlg.h
287                 //@Include: include/pwlib/printdlg.h
288                 //@Include: include/pwlib/prjobdlg.h
289                 //@Include: include/pwlib/prsetdlg.h
290             //@}
291         /**@name Graphics Classes
292           */
293             //@{
294                 //@Include: include/pwlib/point.h
295                 //@Include: include/pwlib/dim.h
296                 //@Include: include/pwlib/rect.h
297                 //@Include: include/pwlib/region.h
298                 //@Include: include/pwlib/colour.h
299                 //@Include: include/pwlib/rcolour.h
300                 //@Include: include/pwlib/font.h
301                 //@Include: include/pwlib/rfont.h
302                 //@Include: include/pwlib/fontfam.h
303                 //@Include: include/pwlib/palette.h
304                 //@Include: include/pwlib/pattern.h
305                 //@Include: include/pwlib/canstate.h
306                 //@Include: include/pwlib/canvas.h
307                 //@Include: include/pwlib/icanvas.h
308                 //@Include: include/pwlib/dcanvas.h
309                 //@Include: include/pwlib/rcanvas.h
310                 //@Include: include/pwlib/mcanvas.h
311                 //@Include: include/pwlib/pcanvas.h
312                 //@Include: include/pwlib/image.h
313                 //@Include: include/pwlib/pict.h
314                 //@Include: include/pwlib/pixels.h
315                 //@Include: include/pwlib/pixels1.h
316                 //@Include: include/pwlib/pixels2.h
317                 //@Include: include/pwlib/pixels24.h
318                 //@Include: include/pwlib/pixels32.h
319                 //@Include: include/pwlib/pixels4.h
320                 //@Include: include/pwlib/pixels8.h
321             //@}
322         /**@name Miscellaneous Classes
323           */
324             //@{
325                 //@Include: include/pwlib/applicat.h
326                 //@Include: include/pwlib/stdresid.h
327                 //@Include: include/pwlib/resdata.h
328                 //@Include: include/pwlib/rstring.h
329                 //@Include: include/pwlib/caret.h
330                 //@Include: include/pwlib/cursor.h
331                 //@Include: include/pwlib/icon.h
332                 //@Include: include/pwlib/imgicon.h
333                 //@Include: include/pwlib/clipbrd.h
334                 //@Include: include/pwlib/keycode.h
335                 //@Include: include/pwlib/prinfo.h
336                 //@Include: include/pwlib/commands.h
337                 //@Include: include/pwlib/mailgui.h
338             //@}
339     //@}
341  /**@name       GUI Mode Components
343                 These classes provide a large amount of higher level functionality
344                 that is built on the basic GUI Classes which provides the
345                 GUI system abstractions.
347     @memo       Non-windowing system specific classes that may be used as
348                 components in applications.
349   */
350     //@{
351         /**@name Tool and Status Bars
352           */
353             //@{
354                 //@Include: include/pwclib/toolbars.h
355             //@}
356         /**@name Window Splitter Controls
357           */
358             //@{
359                 //@Include: include/pwclib/splitter.h
360             //@}
361         /**@name Wizard Dialog
362           */
363             //@{
364                 //@Include: include/pwclib/wizard.h
365             //@}
366         /**@name ANSI Terminal Control
367           */
368             //@{
369                 //@Include: include/pwclib/ansiterm.h
370             //@}
371         /**@name Geometric Shapes 
372           */
373             //@{
374                 //@Include: include/pwclib/shapes.h
375             //@}
376         /**@name Miscellaneous Classes
377           */
378             //@{
379                 //@Include: include/pwclib/progress.h
380             //@}
381     //@}
383 //@}