xref: /aoo41x/main/cui/source/inc/cuiimapwnd.hxx (revision c4eee24d)
1*c4eee24dSAndrew Rist /**************************************************************
2*c4eee24dSAndrew Rist  *
3*c4eee24dSAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*c4eee24dSAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*c4eee24dSAndrew Rist  * distributed with this work for additional information
6*c4eee24dSAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*c4eee24dSAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*c4eee24dSAndrew Rist  * "License"); you may not use this file except in compliance
9*c4eee24dSAndrew Rist  * with the License.  You may obtain a copy of the License at
10*c4eee24dSAndrew Rist  *
11*c4eee24dSAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*c4eee24dSAndrew Rist  *
13*c4eee24dSAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*c4eee24dSAndrew Rist  * software distributed under the License is distributed on an
15*c4eee24dSAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*c4eee24dSAndrew Rist  * KIND, either express or implied.  See the License for the
17*c4eee24dSAndrew Rist  * specific language governing permissions and limitations
18*c4eee24dSAndrew Rist  * under the License.
19*c4eee24dSAndrew Rist  *
20*c4eee24dSAndrew Rist  *************************************************************/
21*c4eee24dSAndrew Rist 
22cdf0e10cSrcweir #ifndef _CUI_IMAPWND_HXX
23cdf0e10cSrcweir #define _CUI_IMAPWND_HXX
24cdf0e10cSrcweir 
25cdf0e10cSrcweir #include <vcl/dialog.hxx>
26cdf0e10cSrcweir #include <vcl/fixed.hxx>
27cdf0e10cSrcweir #include <vcl/combobox.hxx>
28cdf0e10cSrcweir #include <vcl/button.hxx>
29cdf0e10cSrcweir #include <vcl/menu.hxx>
30cdf0e10cSrcweir #include <svl/itempool.hxx>
31cdf0e10cSrcweir #include <svtools/imapobj.hxx>
32cdf0e10cSrcweir #include <svtools/transfer.hxx>
33cdf0e10cSrcweir #include <svtools/imap.hxx>
34cdf0e10cSrcweir #include <sfx2/frame.hxx>
35cdf0e10cSrcweir #include <svtools/svmedit.hxx>
36cdf0e10cSrcweir 
37cdf0e10cSrcweir 
38cdf0e10cSrcweir /*************************************************************************
39cdf0e10cSrcweir |*
40cdf0e10cSrcweir |*
41cdf0e10cSrcweir |*
42cdf0e10cSrcweir \************************************************************************/
43cdf0e10cSrcweir 
44cdf0e10cSrcweir class URLDlg : public ModalDialog
45cdf0e10cSrcweir {
46cdf0e10cSrcweir 	FixedText			maFtURL;
47cdf0e10cSrcweir 	Edit				maEdtURL;
48cdf0e10cSrcweir 	FixedText			maFtTarget;
49cdf0e10cSrcweir 	ComboBox			maCbbTargets;
50cdf0e10cSrcweir 	FixedText			maFtName;
51cdf0e10cSrcweir 	Edit				maEdtName;
52cdf0e10cSrcweir 	FixedText			maFtAlternativeText;
53cdf0e10cSrcweir 	Edit				maEdtAlternativeText;
54cdf0e10cSrcweir 	FixedText			maFtDescription;
55cdf0e10cSrcweir 	MultiLineEdit		maEdtDescription;
56cdf0e10cSrcweir     FixedLine           maFlURL;
57cdf0e10cSrcweir 	HelpButton			maBtnHelp;
58cdf0e10cSrcweir 	OKButton			maBtnOk;
59cdf0e10cSrcweir 	CancelButton		maBtnCancel;
60cdf0e10cSrcweir 
61cdf0e10cSrcweir public:
62cdf0e10cSrcweir 
63cdf0e10cSrcweir 						URLDlg( Window* pWindow,
64cdf0e10cSrcweir 								const String& rURL, const String& rAlternativeText, const String& rDescription,
65cdf0e10cSrcweir 								const String& rTarget, const String& rName,
66cdf0e10cSrcweir 								TargetList& rTargetList );
67cdf0e10cSrcweir 
GetURL() const68cdf0e10cSrcweir 	String				GetURL() const { return maEdtURL.GetText(); }
GetAltText() const69cdf0e10cSrcweir 	String				GetAltText() const { return maEdtAlternativeText.GetText(); }
GetDesc() const70cdf0e10cSrcweir 	String				GetDesc() const { return maEdtDescription.GetText(); }
GetTarget() const71cdf0e10cSrcweir 	String				GetTarget() const { return maCbbTargets.GetText(); }
GetName() const72cdf0e10cSrcweir 	String				GetName() const { return maEdtName.GetText(); }
73cdf0e10cSrcweir };
74cdf0e10cSrcweir 
75cdf0e10cSrcweir #endif
76