Added <vector> and <string>
[pwlib.git] / include / pwlib / mdidoc.h
blobc62d498044b22dafc58b0ea618f47d26d62bbe5a
1 /*
2 * mdidoc.h
4 * Multiple Document Interface Document Window.
6 * Portable Windows Library
8 * Copyright (c) 1993-1998 Equivalence Pty. Ltd.
10 * The contents of this file are subject to the Mozilla Public License
11 * Version 1.0 (the "License"); you may not use this file except in
12 * compliance with the License. You may obtain a copy of the License at
13 * http://www.mozilla.org/MPL/
15 * Software distributed under the License is distributed on an "AS IS"
16 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
17 * the License for the specific language governing rights and limitations
18 * under the License.
20 * The Original Code is Portable Windows Library.
22 * The Initial Developer of the Original Code is Equivalence Pty. Ltd.
24 * Portions are Copyright (C) 1993 Free Software Foundation, Inc.
25 * All Rights Reserved.
27 * Contributor(s): ______________________________________.
29 * $Log$
30 * Revision 1.16 2001/05/22 12:49:33 robertj
31 * Did some seriously wierd rewrite of platform headers to eliminate the
32 * stupid GNU compiler warning about braces not matching.
34 * Revision 1.15 1999/03/10 03:49:52 robertj
35 * More documentation adjustments.
37 * Revision 1.14 1999/03/09 08:01:48 robertj
38 * Changed comments for doc++ support (more to come).
40 * Revision 1.13 1999/02/16 08:08:45 robertj
41 * MSVC 6.0 compatibility changes.
43 * Revision 1.12 1998/09/23 06:24:13 robertj
44 * Added open source copyright license.
46 * Revision 1.11 1995/03/14 12:41:43 robertj
47 * Updated documentation to use HTML codes.
49 * Revision 1.10 1995/01/03 09:36:12 robertj
50 * Documentation.
52 * Revision 1.9 1994/08/23 11:32:52 robertj
53 * Oops
55 * Revision 1.8 1994/08/22 00:46:48 robertj
56 * Added pragma fro GNU C++ compiler.
58 * Revision 1.7 1994/07/21 23:49:31 robertj
59 * Removed redundent destructors.
61 * Revision 1.6 1994/07/17 10:46:06 robertj
62 * Fixed up MDI document window title.
64 * Revision 1.5 1994/03/07 07:38:19 robertj
65 * Major enhancementsacross the board.
67 * Revision 1.4 1994/01/03 04:42:23 robertj
68 * Mass changes to common container classes and interactors etc etc etc.
70 * Revision 1.3 1993/08/21 01:50:33 robertj
71 * Made Clone() function optional, default will assert if called.
73 * Revision 1.2 1993/07/14 12:49:16 robertj
74 * Fixed RCS keywords.
79 #define _PMDIDOCWINDOW
81 #ifdef __GNUC__
82 #pragma interface
83 #endif
86 /**This interactor defines a Multiple Document Interface child window. The
87 document windows are platform dependent in their exact appearance and their
88 relationship with the \Ref{PMDIFrameWindow} that owns them.
90 class PMDIDocWindow : public PTitledWindow
92 PCLASSINFO(PMDIDocWindow, PTitledWindow);
94 public:
95 /**Construct a new MDI child document window. The MDI child window has the
96 same basic capabilities as a \Ref{PTopLevelWindow} as defines by the
97 common ancestor. These define the attributes of a full overlapped
98 window.
100 PMDIDocWindow(
101 PMDIFrameWindow *parent, /// Owner MDI frame window.
102 const PString & title, /// Initial title for child window.
103 int CanDo=CanClose|CanGrow|CanIconify|CanZoom /// Titled window flags.
107 /**@name Overrides from class PTitledWindow */
108 /**Set the new window title string. This will be updated on the screen
109 immediately (subject to OS constraints). It will also update the window
110 list menu to reflect the new window title.
112 virtual void SetTitle(
113 const PString & title /// New title for MDI child window.
118 // Include platform dependent part of class
119 #include <pwlib/mdidoc.h>
123 // End Of File ///////////////////////////////////////////////////////////////